Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

selectSingleNode question

(using VB6 and MSXML ver 2.8)

I have used the "selectSingleNode()" method successfully with the DOMDocument object in the past. Apparently, this is the first time I have tried to use it with an IXMLDOMNode object. Although it seems to be available as a method for the object when I write and compile my program, I get "Object doesn't support this property or method (438)" at runtime.

So does this mean that there is no way to search a node object for it's child nodes? I have to search from the top document object (DOMDocument) every time?

Or is this enabled in a newer version of MSXML?

I would rather not have to search from the top, nor do I want to enumerate through the child nodes collection... If I have to though, I guess I will...

Thanks...
[808 byte] By [brouse] at [2007-11-11 7:56:31]