Search For XML Nodes Using XPath

Category:
ASP, HTML and XML
Type:
Snippets
Difficulty:
Intermediate
Author:
Anne-Lise Pasch

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
A function to search subnodes for a tagname/text combination. Needs a reference to Microsoft XML Parser. See comments for example.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: