From: "Jason Lee" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 05, 2002 10:27 PM Subject: [dom4j-user] insert element in an existing XML document
> I need to insert an element in an exisiting xml doc > <parent> > <child name="attr"> > --- (need to insert another child here) > </> > > I tried to take some help from this list regarding the same question.. > but I was not succesfull in updating the XML document..can anyone suggest me > a sample code... Document document = ...; Element root = document.getRootElement(); Element child = root.addElement( "child" ); James _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user