Subject: RE: [xsl] Saxon is the best!!! From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Date: Fri, 21 Feb 2003 00:05:02 -0000 |
> Rakesh wrote: > > Hi, > > Can u please tell me how i can user SAXON parser? I am > using FOP for > > processing XML data using XSL:FO for outputs. It fails after just > > 10mb. i have to process larger volume of data say 100mb. I > can see in > > the FOP.bat file that its using XALAN and SAX Parser. > Please guide me. > > Make a backup copy, remove xerces.jar, xml-apis.jar and > xalan.jar from the classpath, put the saxon.jar into the > classpath and make sure you are not using JDK1.4. A somewhat > simpler approach is to use the command line utility from > Saxon to produce a FO file from your XML and XSL, then run > this file through FOP. > Setting the system property javax.xml.transform.TransformerFactory to "com.icl.saxon.TransformerFactoryImpl" (in the case of Saxon 6.5.2) also ensures that Saxon rather than Xalan will be picked up. Incidentally, this JAXP interface is a wonderful beast. I had a user recently who was running Saxon from the Xalan command line... Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Saxon is the best!!!, J.Pietschmann | Thread | [xsl] Running both Saxon and Xalan?, Dimitre Novatchev |
RE: [xsl] xsl:sort and axis navigat, Michael Kay | Date | Re: [xsl] Reading the DocType in XS, Gary Lawrence Murphy |
Month |