Re: [xsl] Re: Grouping / Count Issue

Subject: Re: [xsl] Re: Grouping / Count Issue
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 06 Dec 2005 12:57:24 -0500
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. :->


====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. 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 ======================================================================

Current Thread