D
Daniel Pitts
I have a document which has two elements: ValueOverride and ValueDefault
For example:
<MyDoc>
<ValueOverride>The override value</ValueOverride>
<ValueDefault>The default value</ValueDefault>
</MyDoc>
I need a single XPath expression that will return ValueOverride if it is
non-empty, and ValueDefault otherwise.
Is this possible to do with XPath?
Thanks,
Daniel.
For example:
<MyDoc>
<ValueOverride>The override value</ValueOverride>
<ValueDefault>The default value</ValueDefault>
</MyDoc>
I need a single XPath expression that will return ValueOverride if it is
non-empty, and ValueDefault otherwise.
Is this possible to do with XPath?
Thanks,
Daniel.