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