-
Small Help - Please
OK I have my Program and i want to display the content of an XML File in a Tree View
Code:
<?xml version="1.0" encoding="UTF-8"?>
<Message>
<Chad>
<AdminName>Chad Eckles</AdminName>
<To>Chris Andersen</To>
<From>Joo Bob</From>
<Header>whats Up</Header>
<Body>Some Quote Here</Body>
<IP>112.123.233.233</IP>
</Chad>
<John>
<AdminName>John Harrison</AdminName>
<To>Leo Laport</To>
<From>Joo Bob</From>
<Header>Whadz up!</Header>
<Body>Some Quote Here</Body>
<IP>185.136.0.223</IP>
</John>
<Chris>
<AdminName>Jeff Smith</AdminName>
<To>Laport</To>
<From>Joo Bob</From>
<Header>Whadz up!</Header>
<Body> some Quote</Body>
<IP>185.136.0.223</IP>
</Chris>
</Message>
that is a piece of the XML File their will be like 200 more names lol but what i need to do is have
Chad as the RootNode and the others to be Child Nodes and i need this to go threw the hole XML File and to generate the Nodes can someone help me with this please ????
-
*Bump* Help Please i have no clue what im doing lol
-
Use a loop and look up the XML namespace. Its not that hard. I'll try and whip something up when I go home later.
-
GOD that WOULD BE SOOOO HELP FULL!!
-
-
1 Attachment(s)
Ok that is Basicly what i need only problem is
(look at image)
it adds them all as a Root and i need only one Root and the Rest Children perblock
Example
Code:
John
|
+ - Kids
| |
| Mike
| Joe
| Billy
|
+ Pets
|
Cat
Dog
I hope you guys can help AND Thanks for the Help I am Realy ThankFul
-