Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have an the below xml file . My job is tFileInputXML--->tExtractXMLField--->tlog
My tExtractXMLField is set as the below. It keeps returning the Only the first firstname for all the other rows instead of the expected results. How can I set it to return only
<root><status>success</status>
<data><users><firstname>Abby</firstname>
<book><name>ABC</name>
<state><complete>true</complete></state>
</book>
<book><name>ZZZ</name>
<state><complete>true</complete></state>
</book>
</users>
<users><firstname>Abdul</firstname>
<book><name>SeeSaw</name>
<state><complete>true</complete></state>
</book>
<book><name>WWW</name>
<state><complete>true</complete></state>
</book>
</users>
</data>
</root>
Can you show your full tExtractXMLField configuration please?
Change firstname to ....
"../firstname"
Thank you, it worked. I definitely need to learn more about xPath 🙂