EagleTempest
Technical User
I need to use recursion to transfer items from an xml file to a treeview in VB 2005 and framework 2.0
Here's a sample of the xml contents:
Please ignore the numbers at the front. I've seen many examples when the xml is nicely organized and repetitive but that doesn't apply in my case.
Here's a sample of the xml contents:
Code:
<?xml version="1.0" encoding="utf-8"?>
<FOLDERS>
<FOLDER NAME="0 File Index"></FOLDER>
<FOLDER NAME="1 UMA Client">
<FOLDER NAME="1 Contract">
<FOLDER NAME="1 RFP"</FOLDER>
</FOLDER>
<FOLDER NAME="2 Correspondence">
<FOLDER NAME="1 Incoming"></FOLDER>
</FOLDER>
</FOLDER>
<FOLDER NAME="2 Project Management">
<FOLDER NAME="1 Meetings"></FOLDER>
<FOLDER NAME="2 Control">
<FOLDER NAME="5 Quality Reviews">
<FOLDER NAME="1 Quality Review Records"></FOLDER>
</FOLDER>
<FOLDER NAME="6 Drawing List"</FOLDER>
</FOLDER>
</FOLDER>
<FOLDER NAME="4 Project Cost Estimates"></FOLDER>
<FOLDER NAME="5 Project Insurance and Bonds"></FOLDER>
<FOLDER NAME="6 Project Performance Reviews"></FOLDER>
</FOLDERS>