[jdom-interest] Suppressing <?xml version="1.0"?>

bob bob at accurev.com
Mon Aug 21 21:37:49 PDT 2000

You could just keep them all as JDOM trees, and merge them together,
and then dump the entire result to XML.  (But wait, does JDOM support
that type of XML fragment?).  Rip your element of the Document,
and insert it into the parent tree.  Then dump.


On Mon, 21 Feb 2000, Robert wrote:

> This would be nice to have. I know that it is required by XML, but in a case
> like mine, I'm embedding dynamically generated XML into another XML
> document, as I then have to manually remove the declaration, as it can only
> appear at the begining of the document.

More information about the jdom-interest mailing list