m2244
02-26-2010, 08:09 PM
I have a XML "writer" that not only creates the file on my desktop but it also loads it back in to the "writer". At this point it will add more and more blocks of XML data to the file each time the user enters text into the fields and hits submit. My problem is getting it to add the new blocks of XML before the closing tag. How can I tell it where in the existing file to add the new block of XML? Thanks in advance guys.
<test>
<block1></block1>
<block2></block2>
/*This is where I want to add the new block of XML.*/
</test>
<test>
<block1></block1>
<block2></block2>
/*This is where I want to add the new block of XML.*/
</test>