RE: [xsl] Use Xerces with Saxon?

Subject: RE: [xsl] Use Xerces with Saxon?
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Tue, 31 Jul 2001 13:01:36 +0100
> 	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


Current Thread