Run the Application (Simple Filter)
The following instructions are based on the books.xml file, but you can also use other XML documents in this application.
To run the application
- Save the project and then copy books.xml to the folder where you saved the project.
- From the Visual Basic toolbar, click Start.
- In the Filename box, enter the path for the books.xml file.
- In the Element name box, type the name of the element that serves as the filter criteria. For this example, type "title".
- On the form, click Parse.
The Text2 text box displays the following results.
<title>XML Developer's Guide</title> <title>Midnight Rain</title> <title>Maeve Ascendant</title> <title>Oberon's Legacy</title> <title>The Sundered Grail</title> <title>Lover Birds</title> <title>Splish Splash</title> <title>Creepy Crawlies</title> <title>Paradox Lost</title> <title>Microsoft .NET: The Programming Bible</title> <title>MSXML3: A Comprehensive Guide</title> <title>Visual Studio 7: A Comprehensive Guide</title>