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]

RE: Use Xerces with Saxon?


> 	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


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