Re: [dom4j-user] Adding element to document object

2002-02-08 Thread James Strachan
-Original Message- > From: James Strachan [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 07, 2002 2:18 PM > To: Frank Sharpless; Dom4j List (E-mail) > Subject: Re: [dom4j-user] Adding element to document object > > > Hi Frank > > Generally you&

Re: [dom4j-user] Adding element to document object

2002-02-07 Thread James Strachan
.addText( "ERROR OCCURRED" ); I hope that helps James - Original Message - From: "Frank Sharpless" <[EMAIL PROTECTED]> To: "Dom4j List (E-mail)" <[EMAIL PROTECTED]> Sent: Thursday, February 07, 2002 6:48 PM Subject: [dom4j-user] Adding element to docume

[dom4j-user] Adding element to document object

2002-02-07 Thread Frank Sharpless
hello all.. I am very new to dom4j. I have a quick question. If you want to add element/value pairs to an existing xml document, what is the syntax? I tried the following, but with no success: Element element = XMLDocument.addElement("//PMS/IMPORTER/ERROR", "ERROR OCCURRED"); Where PMS - root,