users@jaxb.java.net

Re: Marshalling and unmarshalling to several root elements

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Wed, 07 May 2003 10:45:50 -0700

Yes, using XSLT could be a good option, especially if you are looking
for a quick and easy solution.

The downside is that the transformation requires the entire document on
the memory, so it might not be an optimal solution in terms of the
performance.


> Look at the javadoc for javax.xml.bind.util.JAXBResult to see how they
> interoperate. You may have to work around bugs (I know I have but I
> don't have the bug numbers handy. Don't be frustrated :-)

Thank you for the pointer. If you haven't filed a bug yet, I'd
appreciate if you do.

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