About EasyMorph Tutorials & Examples Web-help

Generic XML Import

Hi, I would like to import an XML area generically (subset of the file). The input parameter contains the XML node and the value of the data area. I got the start, but what’s next? :slight_smile: Iterate …!

The returned data area should be a table, so i think i have to create a subproject/module … :-:thinking:

Sampleproject
GetDynamicXMLNodes.zip (1.8 KB)

Hi Adrian,

You XPath should look like this:

message/Families/Family/Members/Parents/ParentGroup[text()='GermanParents']/..

There is a simpler XPath for this case but it’s not supported by EasyMorph for now:

message/Families/Family/Members/Parents[ParentGroup='GermanParents']

To learn more about EasyMorph visit easymorph.com.