Hi,
I an no Xpath ninja :) , however based on the info you're providing me I'dd say you have a XML that (in very simple terms) would be something like this:
I an no Xpath ninja :) , however based on the info you're providing me I'dd say you have a XML that (in very simple terms) would be something like this:
<trans-unit xmlns="http://server/namespace">
<field id="CORE_IDEA">Value Core</field>
<field id="NOT_CORE_IDEA">Value Not Core</field>
</trans-unit>
If you use XPath /*[namespace-uri()='http://outsystems.com/namespace' and local-name()='trans-unit']/*[namespace-uri()='http://outsystems.com/namespace' and local-name()='field'][@id='CORE_IDEA']/text()
you'll get the "Value Core" value.
Hope it helps.
If you use XPath /*[namespace-uri()='http://outsystems.com/namespace' and local-name()='trans-unit']/*[namespace-uri()='http://outsystems.com/namespace' and local-name()='field'][@id='CORE_IDEA']/text()
you'll get the "Value Core" value.
Hope it helps.