S
Steve Jorgensen
Working with the DOM (specifically, the MSXML DOM), I'm wondering if there's
an efficient way to check whether it would be matched by a given XPath
expression.
I've made it work to just run the XPath select on the document, looping
through all the nodes returned, and seeing if one of those is the same as the
node in question. If I need to check many expressions, though, this would not
be efficient.
an efficient way to check whether it would be matched by a given XPath
expression.
I've made it work to just run the XPath select on the document, looping
through all the nodes returned, and seeing if one of those is the same as the
node in question. If I need to check many expressions, though, this would not
be efficient.