[jdom-interest] How to edit encoding attribute
Lopez, William
william.lopez at eds.com
Thu Nov 8 07:52:14 PST 2001
Ronyn:
If your creating an XML file from a JDOM doc you can use XMLOutputter:
*SEE JDOM API docs
XMLOutputter(String indent, boolean newlines, String encoding)
This will create an XMLOutputter with the given indent and new
lines printing only if newlines is true, and encoding
format encoding.
Hope this helps,
-Will
-----Original Message-----
From: Ronyn Woods [mailto:ronynwoods at hotmail.com]
Sent: Wednesday, November 07, 2001 9:36 PM
To: jdom-interest at jdom.org
Subject: [jdom-interest] How to edit encoding attribute
Dear All,
On every xml file's head, there is a line:
<?xml version="1.0" encoding="UTF-8"?>
How can i change the encoding attribute by Jdom?
Thanks all!
Ronyn
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com
More information about the jdom-interest
mailing list