Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to convert an XML data to a Tree Control in ASP

Status
Not open for further replies.

kenle

Programmer
Oct 12, 2004
1
US
Hi all,

I have an application that saves the configuration data in XML format. For example:

<Root>
<product1>
<features><name>f1</name>
<param>
<name>some name 1</name>
<value> some value 1</value>
</param>
<param>
<name>some name 2</name>
<value> some value 2</value>
</param>
</features>
<features><name>f2</name>
<param>
<name>some name 3</name>
<value> some value 3</value>
</param>
</features>
</product1>

</Root>

What's the best way to convert this XML doc into a tree control in ASP page so that the user can select which product or features of a product to retrieve the data?

Tree structure may look like this:

Root
-Product1
-- Feature 1
-- Feature 2
-Product2
-- Feature 3
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top