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]

Tree from a flat list - beginner's question


How can I build the corresponding XML tree from a flat 
element-elementParent list if I do not know
how many levels will I have:

<root>
	<row id=100 parentid=0   name=A/>
	<row id=101 parentid=100 name=A1/>
	<row id=102 parentid=100 name=A2/>
	<row id=103 parentid=101 name=A11/>
	<row id=110 parentid=103 name=A111/>
	<row id=111 parentid=110 name=A1111/>
	<row id=120 parentid=102 name=A21/>
<root/>

Stillian

 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]