You can either 1) write it out yourself if you are performing the
character encoding, or 2) use the the methods which output bytes
instead of chars, like save(OutputStream).  The versions of save which
output chars do not output the XML declaration because there is no
character encoding taking place.

- Eric

On 5/18/05, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> 
> Hi, 
> 
> I want to get the: 
>         <?xml version="1.0"?> 
> tag into the top of the generated xml files, how do I do it? Is it specified
> in the schema somehow? 
> 
> Thanks, 
> 
> Lawrence 
> This disclaimer certifies that this message has been scanned by Centrelink's
> Anti-virus system. If this e-mail is found to have a virus attached by any
> other Anti-virus system, this does not mean that Centrelink are responsible
> in any way.
> 
> 
> **********************************************************************
> IMPORTANT: This e-mail is intended for the use of the addressee and may
> contain information that is confidential, commercially valuable or subject
> to legal or parliamentary privilege. If you are not the intended recipient
> you are notified that any review, re-transmission, disclosure, use or
> dissemination of this communication is strictly prohibited by several
> Commonwealth Acts of Parliament. If you have received this communication in
> error please notify the sender immediately and delete all copies of this
> transmission together with any attachments.
> **********************************************************************
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to