Look into DOM_Node's insertBefore() and appendChild() methods.
Joe
- Original Message -
From: "Bharatbhushan_Shetty" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 04, 2001 7:36 AM
Subject: How TO Insert Elements in between XML String !!
Hi,
I am new to XML and need some help on the same. I am reading an XML
file and and parsing it using a DOM parser. Now I need to insert some
elements in between. Could someone tell me how I am supposed to do
this... ( a bit of code fragment will do...)
Input file
-