Sep 13th, 2002, 02:34 AM
#1
Thread Starter
Hyperactive Member
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 ????
Sep 13th, 2002, 11:29 AM
#2
Thread Starter
Hyperactive Member
*Bump* Help Please i have no clue what im doing lol
Sep 13th, 2002, 01:31 PM
#3
Frenzied Member
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.
Dont gain the world and lose your soul
Sep 13th, 2002, 01:37 PM
#4
Thread Starter
Hyperactive Member
GOD that WOULD BE SOOOO HELP FULL!!
Sep 13th, 2002, 10:48 PM
#5
Frenzied Member
Dont gain the world and lose your soul
Sep 14th, 2002, 02:21 PM
#6
Thread Starter
Hyperactive Member
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
Attached Images
Sep 15th, 2002, 03:02 AM
#7
Thread Starter
Hyperactive Member
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width