If you use JDOM, you will wind up with a Document object. You can either use a SAXParser (usually this is the best way to go if your input is an XML file) or a DOMParser (if you already have the DOM Object).
With a Document, you can easily edit: - change the text string in an element - add new elements or attributes - delete elements or attributes - change the contents of an attribute
There is no need to use JDOM - still a non-standard API. The standard toolkit in the Java SDK since version 1.4 gives you all you need to change, add or remove Elements, Nodes and attributes in a org.w3c.dom.Document object. Bill