G
Guest
I have a XML file that I need to append child nodes to. Here is an example of
that file:
<root>
<item>
<stuff1>The Stuff for 1</stuff 1>
<stuff2>The stuff for 2</stuff 2>
</item>
<item>
<otherstuff1>The other stuff for 1</otherstuff1>
<otherstuff2>The other stuff for 2</otherstuff2>
</item>
</root>
I need to append a node to each <item> then write it back to the file. What
is the best way to do this? Thank you
Daniel C. DiVita
that file:
<root>
<item>
<stuff1>The Stuff for 1</stuff 1>
<stuff2>The stuff for 2</stuff 2>
</item>
<item>
<otherstuff1>The other stuff for 1</otherstuff1>
<otherstuff2>The other stuff for 2</otherstuff2>
</item>
</root>
I need to append a node to each <item> then write it back to the file. What
is the best way to do this? Thank you
Daniel C. DiVita