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 15:34:25 -0700

I was looking at your bug report regarding XSLT transformation. It seems
like you are using JAXBSource in a wrong way:

See the javadoc of JAXBSource at:

http://java.sun.com/webservices/docs/1.1/api/javax/xml/bind/util/JAXBSource.html

You are supposed to pass in a JAXBSource object as a parameter to the
Transformer.transform().

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