xsl-list
[Top] [All Lists]

Re: [xsl] Question about XSLTC

2007-08-06 18:37:54

Recently we have decided to switch to using XSLTC, to improve the
speed of our transforms.  In other parts of our application, we
have been able to use XSLTC without a problem.

I'm afraid I do not have an answer to your original inquiry, but if
speed is a matter for you, you may consider using XSLT 2.0 instead.
There have been scenarios where increase of speed was more then 20
fold (!). The best increase of speed is where you would otherwise
need recursive templates in XSLT 1.0 (i.e., string pattern
searching, certain calculations, string replacement etc).

Not to mention the speed you gain in the development and management
cycle. The size of a typical (what is typical...) XSLT 2.0
stylesheet is roughly 30% the size of an XSLT 1.0 stylesheet (of
course, largely depending on your structure).

A good XSLT 2.0 capable processor is Saxon 8.9 (non-SA version is
open source), both for .NET and Java. Others are Gestalt (open
source) and AltovaXML (proprietary, freeware).

There's one caveat though: once you start with XSLT 2.0 there's a
high probability chance that you fall in love with it!

Cheers,
-- Abel Braaksma


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--