Is it possible to create an XML files with no XML Encoding?

Because everytime I create the XML files there's always <?xml version="1.0" encoding="UTF-8"?>. What I want only the <?xml version="1.0" ?>.

this is how I create my XML:

Document document = DocumentHelper.createDocument();
Element root = document.addElement( "struct" );
root.addElement( "status" ).addText( "0" );



:(


Get your email and more, right on the new Yahoo.com
-------------------------------------------------------------------------
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