Posted on 2009-04-15
I am trying to extract all child nodes in an XML document with a certain name, using the SOAP toolkit.
At the moment I cannot extract anything further down than the root, I need to find nodes in the body of the XML.
My XML document uses a bespoke namespace, so I am using this syntax:
Set objNode = oRoot.selectSingleNode("testNS:Results")
Where Results is the root node. This works and I get a node back.
But I am looking 5 levels down into the XML for what I really want.
When I try this (retrieve a node below the root ):
Set objNode = oRoot.selectSingleNode("testNS:Results/Level2")
I get nothing.
What am I doing wrong?