Hi,
i have the following xml structure:
<?xml version="1.0" encoding="utf-8" ?><Templates><Template ID="100" Title="Contenttemplate-1"><Node ID="101">node101<Node ID="102">node102</Node><Node ID="106">node106<Node ID="108">node108</Node><Node ID="109">node109</Node></Node></Node><Node ID="103">node103</Node><Node ID="104">node104</Node>
</Template></Templates>
How could i loop recursively through the elements of Template?
The result should look like:
node101
-- node102
-- node106
-- -- node108
-- -- node109
node103
node104
How to solve this?
Best regards,
Yavuz B.
My Sharepoint and Enterprise 2.0 Blog http://www.bogazci.com |Microsoft Sharepoint Resources & Blog List