2 Replies Latest reply on Jan 26, 2008 8:16 AM by nijlz

    XML Traversing for Tree

    nijlz
      Hello,

      I've got an XML from a Webservice. It looks like that:
      <folderContent>
      ____<name>A</name>
      ____<folderContent>
      ________<name>B</name>
      ________<folderContent>
      ____________<name>C</name>
      ________</folderContent>
      ____</folderContent>
      ____<folderContent>
      ________<name>D</name>
      ____</folderContent>
      </folderContent>

      And there are further more attributes beside name.
      How do I prepare this XML for a Tree so that I get something like that:
      A
      |--B
      __ |--C
      |--D

      Thanks for your help...