At 05:16 AM 12/6/2005, David wrote:
Conversely I suspect that the xslt2 version is a linear speedup because
Michael's code gets more optimised over the years so in this case the
speedup probably is not so dependent on document size. As a comparision you
could run the xslt1 version with saxon8 I'd guess that would be a
similar speed to the "xslt2" version, which I didn't really write to be
quicker just as a more or less joke version to show you could (if you
were feeling peverse) write it as a single XPath. On the other hand,
while writing things as a single Xpath often looks strange to an old
time XSLT user, but it is essentially the definition of using Xquery.
Off on a tangent -- one of the fun things about XSLT 2.0 is that you
can get lots more XPathy (XQueryish) if you like, but if you like you
can equally well use pipelining through templates (the feature I
refer to as "guilt-free processing of result trees") and reduce all
the XPath to the utmost in simplicity. XSLT becomes more XSLT-like
than ever. :->
Cheers,
Wendell
======================================================================
Wendell Piez
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc. http://www.mulberrytech.com
17 West Jefferson Street Direct Phone: 301/315-9635
Suite 207 Phone: 301/315-9631
Rockville, MD 20850 Fax: 301/315-8285
----------------------------------------------------------------------
Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================
--~------------------------------------------------------------------
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>
--~--