This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

recursion


I have an XML structure like that:
 
<row ItemID="1" iParentID="0" szSubject="Msg1"/>
 
<row ItemID="2" iParentID="1" szSubject="Msg2"/>
 
<row ItemID="3" iParentID="2" szSubject="Msg3"/>
 
<row ItemID="4" iParentID="1" szSubject="Msg4"/>
 
<row ItemID="5" iParentID="4" szSubject="Msg4"/>
 
And I want an XSLT transformation to get this data in a hierarchical tree
like that:
 
1
    2
        3
4
    5
 
Can you help me?
 
Thanks in advance....


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]