Hi,
i want to build up a tree structure in XML. Which is the correct way to store a tree with an unlimited depth in xml?
<?xml version="1.0" encoding="utf-8" ?><templates><template id="1"><name></name><description></description><sections><section id="201"><name></name><sections><section id="301"><name></name><sections><section id="401"><name></name></section></sections></section></sections></section></sections></template></templates>
or something like this:
<?xml version="1.0" encoding="utf-8" ?><templates><template id="1"><name></name><description></description><sections><section id="201"><name></name><section id="301"><name></name><section id="401"><name></name></section></section></section></sections></template></templates>
or another way?
Best regards,
Yavuz B.
My Sharepoint and Enterprise 2.0 Blog http://www.bogazci.com |Microsoft Sharepoint Resources & Blog List