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, Importer - element, Error - Node of Importer. "error
occurred" is the string of text to add to the value of the ERROR element.

Thanks for your help!


A. Frank Sharpless
Manager, Application Development
Paperhost.Com, Inc.
[EMAIL PROTECTED]
770.998.9172.611


_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to