xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas L Delmelle <a_l.delme...@pandora.be>
Subject Re: Large PDF - Performance
Date Thu, 10 Nov 2005 20:16:15 GMT
On Nov 10, 2005, at 21:10, J.Pietschmann wrote:

> Andreas L Delmelle wrote:
>>> Oh, you might want to look into pre-compiled stylesheets, too. Saxon
>>> supports those. I don't know about Xalan.
>> It does: see http://xml.apache.org/xalan-j/xsltc_usage.html
> Well, XSLTC compiles XSLT into Java. Compiled style sheets are usually
> a bit less drastic, it just means the style sheet is kept in a
> javax.xml.transform.Templates object.

Sorry, my mistake.

> This saves parsing the XML into an internal data structure and  
> static optimizations.
> Standard Xalan supports compiled style sheets in the latter sense too.
> Not that XSLTC is actually a completely separate code base and has
> quite a bit more problems than standard Xalan.

Yep. Still Sun has adopted it and made it part of Java 1.5. If the  
stylesheet can be compiled into Java w.o. problems, it is noticeably  
quite a bit faster (for all but the first run, evidently).



To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org

View raw message