Title: RE: [dom4j-user] dom4j encoding

Hi,

Try something like that :

XMLWriter writer = new XMLWriter(out, new OutputFormat("  ", true, "UTF-8"));
writer.write(doc);
writer.flush();

Where out is an OutputStream and doc is a dom4j Document object.

-----Message d'origine-----
De : Antonio Carvalho [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 1 octobre 2004 18:01
À : [EMAIL PROTECTED]
Objet : [dom4j-user] dom4j encoding

Hello...

I need help...

I need change the encoding in a dom4j Document... How can i do this?

Thanks

TZ


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to