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