Display XML File Contents on a TreeView Control

Category:
ASP, HTML and XML
Type:
Snippets
Difficulty:
Intermediate
Author:
Intelligent Solutions Inc.

Version Compatibility: Visual Basic 6

More information:
This function displays opens an XML file and displays it (retaining its hierarchical structure) on a TreeView control, using the XML parser (MSXML.DLL version 2.0). Included is a sample XML file and a small application that uses the function to display it on a treeview control.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download xmltree.zip