[xsl] Tree from a flat list - beginner's question

Subject: [xsl] Tree from a flat list - beginner's question
From: "TRIFFONOV, Stillian" <Stillian.Triffonov@xxxxxx>
Date: Fri, 5 Oct 2001 12:19:18 +0100
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


Current Thread