users@jaxb.java.net

Re: inclusion of xml comments in marshalled files?

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Mon, 07 Jul 2003 07:38:43 -0700

This is easy. You can just write those comments to a Writer, then pass
that Writer to the JAXB marshaller.

"Corbett J. Klempay" <Corbett.Klempay_at_trilogy.com> wrote:
> variety. In particular, I might (haven't yet confirmed this will be a
> requirement) have to have my marshalled document be like:
>
> <!-- some comments here...a chunk of text that will be programmatically
> populated -->
> <?xml version="1.0" encoding="UTF-8">
> ....xml document here...


regards,
--
Kohsuke Kawaguchi                  408-276-7063 (x17063)
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com