1 Reply Latest reply on Jul 6, 2009 3:56 PM by Matt Kohanek

    need suggestion on how to handle tree getting data from xml

    Matt Kohanek Novice

      I'm not even sure where to start with this, I have a web service storing xml. I neeed to build a tree using the xml from this web service. Here is an example of the xml:

      <?xml version="1.0" encoding="UTF-8"?>
       <permissions class="java.util.ArrayList">
       <devices class="java.util.ArrayList">
       <channels class="java.util.ArrayList">

      I need the root of the tree to be the tag and then device and channels to show up under the tree. I have looked throgh all the live demo stuff and the developer guide but I have overloaded myself with different info and I'm not sure how I should handle this.

      So can someone maybe tell me what examples to look at specifically or give me some tips.

      Right now I have code that goes through and for every project in the projectCollection it adds the project name to projectNameList, and the same for devices. But this leaves me with a loose collection of project names and devices, no ownership is shown.

      ANy ideas