This is a sample of the raw XML I'm working with:
<dsQueryResponse>
<Rows>
<Row Title="Animal" Parent="" />
<Row Title="Mammal" Parent="Animal" />
<Row Title="Lion" Parent="Mammal" />
<Row Title="Plant" Parent="" />
<Row Title="Elephant" Parent="Mammal" />
</Rows>
</dsQueryResponse>
Using XSLT, how do I get the output to be a nested UL like:
<ul>
<li>
Animal
<ul>
<li>
Mammal
<ul>
<li>Elephant</li>
<li>Lion</li>
</ul>
</li>
</ul>
</li>
<li>Plant</li>
</ul>
I'm only "okay" with XSLT and can only do simple sorting, and I know I can do this easily through JavaScript/jQuery, but I'd rather use XSLT for this.