Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: XSL TREE LIKE STRUCTURE XSL TREE LIKE STRUCTURETo: NULL Date: 2/8/2005 3:29:00 AM I have an xml file with a data structure like:
<?xml version="1.0"?>
<tree>
<tree_node id="7" depth="0" parent="0" value="Test">
<tree_node id="8" depth="1" parent="7" value="Test Sub"/>
<tree_node id="9" depth="1" parent="7" value="Test Sub One">
<tree_node id="10" depth="2" parent="9" value="Test Sub Two"/>
</tree_node>
</tree_node>
</tree>
What i am endeavoring to do is create a collapseable and expandeable tree
structure (HTML output). My xsl file receives a variable which equates to a
node just clicked. The xsl stylesheet will need to output the node selected
and all its ancestors. Thus allowing the tree to expand or collapse.
I would appreciate any insight in how to do this, i am by no means an expert.
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
