This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Optimizing transform in java
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 25 Jan 2002 20:02:49 -0000
- Subject: RE: [xsl] Optimizing transform in java
- Reply-to: xsl-list at lists dot mulberrytech dot com
> Ok...since JDOMSource extends SAXSource will this do the trick?
> transformer.transform(new JDOMSource(doc), out);
Saxon doesn't recognize org.jdom.transform.JDOMSource. That class is for use
with JDOM's own JAXP implementation, I believe. To supply a JDOM document to
Saxon, use
transformer.transform(new com.icl.saxon.jdom.DocumentWrapper(doc), out);
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list