Typos fixed below. Problem remains.
Sub Argh()
Dim xmldoc As DOMDocument
Dim ndeTopLevel As IXMLDOMNode
Dim nlst As IXMLDOMNodeList
Set xmldoc = New DOMDocument
xmldoc.Load "c:\blahblahblah.xml"
xmldoc.setProperty "SelectionLanguage", "XPath"
'this does grab a nested element.
Set...
One MILLION dollars to the person who can answer this for me.
Using VBA, I wrote code similar to what is below. That last line is the one in question. If my XPath query is written "ancestor::*", the code works correctly. However, when I replace the astrix with a specific element name, as I have...
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.