This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Optimizing transform in java


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]