Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] Xml import actions are not working with namespaces

$
0
0
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:

<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.

Viewing all articles
Browse latest Browse all 1476385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>