Take a look at the OutputFormat class 
(http://dom4j.sourceforge.net/apidocs/org/dom4j/io/OutputFormat.html). 

>-----Original Message-----
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] On Behalf Of 
>Jochen Rinck
>Sent: Thursday, October 26, 2006 2:19 PM
>To: dom4j-user@lists.sourceforge.net
>Subject: [dom4j-user] Header of the XML-File
>
>Hi,
>
>If I write out a Document via dom4j, the header is the folowing:
>
>  <?xml version="1.0" encoding="UTF-8" ?>
>
>But I want an ISO-Header like this:
>
>  <?xml version="1.0" encoding="ISO-8859-1" ?> 
>
>How can I tell dom4j to produce an ISO-Header?
>
>Thanks for your help!
>Jochen Rinck
>_______________________________________________________________________
>Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
>Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222
>
>
>---------------------------------------------------------------
>----------
>Using Tomcat but need to do more? Need to support web 
>services, security?
>Get stuff done quickly with pre-integrated technology to make 
>your job easier
>Download IBM WebSphere Application Server v.1.0.1 based on 
>Apache Geronimo
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&d
>at=121642
>_______________________________________________
>dom4j-user mailing list
>dom4j-user@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/dom4j-user
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to