Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JDOM User »

Re: [jdom-interest] How to change encoding

Jason Hunter

2006-02-07

Replies:

format.setEncoding() on the Format instance you pass to the XMLOutputter.

-jh-

info@(protected):

> Hi
>
> I have to process an existing XML file and write a new output XML file.
> Additonally I have to change the encoding to the following:
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
> I am new to JDOM and I could not find anyhting how to do that.
>
> Any help is very much appreciated.
>
> --
> Thanks,
> Sam
>
>
> _______________________________________________
> To control your jdom-interest membership:
> http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)
>
_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.