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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tree implementation with XSL!!!! HELP!!!!!!!!!!!!!!!!!!!!!!!

Status
Not open for further replies.

polidudu

Programmer
May 19, 2002
1
GB
Hello to everybody!
Please help me(if u can)!!!!!!!!!!!!!!!!!!!!!!!!!
I need to implement the tree that has unknown depth with XSL!!!!
I have some XML file and it should be shown as tree with implementing of Cut, Copy, Paste, MoveUp, MoveDown operations.
I'm VB developer for 4 years but I'm new in XSL!!!! - and I just don't have enough time to go so deep to XSL
Please help me if u can
Thanks.

P.S. This is XML. I can add any attributes that I need to any node.
Important: I don't know the tree depth!!!!!!!!
Tree has 2 types of nodes:<Parent/> and <Child/>

<?xml version=&quot;1.0&quot;?>
<?xml-stylesheet type=&quot;text/xsl&quot; href=&quot;treeSource.xsl&quot;?>
<root>

<Parent id='a1' pos='start'>
<Child id='a11'/>
<Child id='a12'/>
</Parent>
<Parent id='a2'>
<Child id='a21'/>
<Child id='a22'/>
<Child id='a23'>
<Parent id='a231'>
<Child id='a2311'/>
</Parent>
</Child>
<Child id='a24'>
<Parent id='a241'/>
</Child>
</Parent>

</root>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top