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).
Cheers,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]