ASP Source Code:
<!--#include file="clsTreeView2.asp"-->
<h2>Loading From an XML File</h2>
<%
'Declare objects
Dim objTV, strFilePath
'Set your file path
strFilePath = "sample_menu.xml"
'create instances of your treeview
Set objTV = New TreeView
'load the treeview from the xml file
Call objTV.LoadFromXml(strFilePath)
'display your treeview
objTV.Display
'clear memory
Set objTV = Nothing
%>