[jdom-interest] Add content to xml file

philip.nelson at omniresources.com philip.nelson at omniresources.com
Fri Apr 27 12:25:44 PDT 2001


Sure, just call XMLOutputter.output to a file, update the document and call
it again.

Now, if this log can grow large, you may well want to rethink using xml for
a log file.
In addition, if you absolutely depend on the log, you may want to reconsider
holding a document in memory because you can lose power.


> Hello i'm trying to make a xml log file
> Is it posible to create a xml file with new Document()
> and then write it down throw XMLOutputter and still
> add content to that file. Witout reading it back again ???



More information about the jdom-interest mailing list