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
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