i'm doing this using the MSXML parser on IIS for ASP pages. this is a small example in VBScript of how you may be able to do what you're asking:
Code:
dim rootNode ' doc element
dim currNode ' node
dim sGPnodeName ' grandparent node name
set rootNode = objXML.documentElement
set currNode = rootNode.selectSingleNode("//someNode")
sGPNodeName = (currNode.parentNode).parentNode.nodeName
hope this helps. "Until you have the courage to lose sight of the shore, you will not know the terror of being forever lost at sea." - a very wise man
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.