SV: [jdom-interest] XMLOutputter Question
Per Norrman
pernorrman at telia.com
Tue Nov 18 16:20:50 PST 2003
Two possible explanations:
1. You call
XMLOutputter#setOmitDeclaration(true);
2. You're not outputting the document, but rather
the root element.
/pmn
-----Ursprungligt meddelande-----
Från: jdom-interest-admin at jdom.org [mailto:jdom-interest-admin at jdom.org]
För Hainer, Neil
Skickat: den 18 november 2003 23:53
Till: jdom-interest at jdom.org
Ämne: [jdom-interest] XMLOutputter Question
Hi,
I am reading in an XML document and writing it out using XMLOutputter().
The input document contains
"<?xml version "1.0" encoding = "UTF-8"?>
as the first line. The output file does not contain this line. Can
someone tell me why? Is there a way to retain it?
TIA,
Neil
Neil Hainer
Booz | Allen | Hamilton
JIVA SI
8613 Lee Hwy
Fairfax, VA 22031
703-289-3881
_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@you
rhost.com
More information about the jdom-interest
mailing list