You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by MIDON ALEXIS <AL...@sgam.com> on 2004/08/26 11:35:06 UTC
What about XML Declaration?
Hi,
may I ask you why XMLBeans does not generate the XML Declaration? <?xml
version="1.0" encoding="UTF-8"?>
I use the following code to print my XmlObject :
XmlOptions opts = new XmlOptions();
opts.setCharacterEncoding("ISO-8859-1");
String s = anXmlObject.xmlText(opts);
Did I miss something?
Thanks for your help,
Alexis