This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Use Xerces with Saxon?
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Use Xerces with Saxon?
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Tue, 31 Jul 2001 13:01:36 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> what property of the transformerFactory must we set to
> make Saxon
> work with Xerces?
If you want to use Xerces to parse all files, set the system property
javax.xml.parsers.SAXParserFactory
to the value
org.apache.xerces.jaxp.SAXParserFactoryImpl
If you want to use Xerces selectively, either for the source document or the
stylesheet, you can set the attributes
com.icl.saxon.FeatureKeys.SOUREC_PARSER_CLASS or STYLE_PARSER_CLASS to the
name of the Xerces XMLReader implementation, viz.
org.apache.xerces.parsers.SAXParser.
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list