I'm having some trouble getting some informations from my XML and maybe someone can help me with it (or point me in the right direction).
This is my XML scructure (example)
Code: Select all
<root>
<AAA att="1">
<SubA>...</board>
<SubB att1="..." att2="...">
<SubSubA att="...">
<item1>...</item1>
<item2>...</item2>
<item3>...</item3>
</SubSubA>
</SubB>
</AAA>
<AAA att="2">
(...)
</AAA>
<BBB att="3">
(...)
</BBB>
(...)
</root>
This gives me the path to the the child node (of root) with the attribute att = "1"
Code: Select all
put revXMLMatchingNode(treeID, "/root", , "att", "1", -1) into componentNode
Code: Select all
revXMLNodeContents(treeID, componentNode & "/SubA")
Now ... how do I get the Node "SubB"?
I though that I could use something like this but .. it doesn't work.
Code: Select all
revXMLMatchingNode(treeID, componentNode , "SubB", , , -1)
Many thanks in advance