[Home] [By Thread] [By Date] [Recent Entries]
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
|

Cart



