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"?> <measurementProject> <projectId>exampleProject1</projectId> <name>exampleProject1</name> <permissions class="java.util.ArrayList"> <projectPermission> <userId>exampleUser1</userId> <permission>admin</permission> </projectPermission> </permissions> <devices class="java.util.ArrayList"> <projectDevice> <deviceId>exampleDevice1</deviceId> </projectDevice> </devices> <channels class="java.util.ArrayList"> <projectChannel> <channelId>exampleChannel3</channelId> </projectChannel> </channels> </measurementProject>
need the root of the tree to be the tag
that should say
need the root of the tree to be the name tag