Yes, this is a kind of FAQ. Search the archive with a keyword like
"XMLWriter".
Karlo Berket <kberket_at_lbl.gov> wrote:
> Is there a way to marshal an element such that the output does not
> include the usual first line? That is instead of having this output
>
> <?xml version="1.0" encoding="UTF-8">
> <myelement>hello</myelement>
>
> I would like to have just this output
>
> <myelement>hello</myelement>
regards,
--
Kohsuke Kawaguchi 408-276-7063 (x17063)
Sun Microsystems kohsuke.kawaguchi_at_sun.com