xml-xmlbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From starlightpurple <starlightpur...@yahoo.com>
Subject save methods question
Date Wed, 31 Mar 2004 18:29:48 GMT
Hi, 

I am a new user to xmlbeans.  When I do a save(File) I
get the <?xml version="1.0" encoding="UTF-8"?> at the
top of my xml file. 

However, if I do a save(Writer) I do NOT get the <?xml
version="1.0" encoding="UTF-8"?>. 

Why is this occuring? Is there a way to get the <?xml
version="1.0" encoding="UTF-8"?> with the save(Writer)
method? 

I tried using the toString() and xmlText() methods but
they did not include the <?xml ...> either. 

Thanks! 

Maren


__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html

- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/


Mime
View raw message