Hi,
I have some data in a sharepoint List in the attached format and I would like to get an XSLT to be applied to get an xml output of the data in the following format:
Type and ElementID are attributes of the Element.
<Element Type= "Toplevel" ElementID="A" column8value="boolean" >
<Element Type = "secondlevel" ElementID="a" column8value="boolean">
<Element Type = "thirdlevel" ElementID="name14" column8value="boolean">
<Element Type = "Fourthlevel" ElementID="1" column8value="boolean">
<Element Type = "fifthlevel" ElementID="12" column8value="boolean">
<Element Type ="sixthlevel" ElementID="121" column8value="boolean">
<Element Type="seventhlevel" ElementID="1211" column8value="boolean">
<Element Type="eigthlevel" ElementID="145689" column9value="boolean" column8value="boolean">
</Element>
</Element>
</Element>
</Element>
</Element>
</Element>
</Element>
</Element>
This means that each Toplevel should nest all its second level elements and second level elements should nest all third level elements and so on.