Subject:Slow for-each select Author:Ai Narazaki Date:19 Jun 2008 04:27 AM
Sorry, should have mentioned that. I'm using XSLT through Sarissa in a web browser. The delay only occurs in FireFox, not IE 7, but I need it to work properly in all browsers.
Subject:Slow for-each select Author:(Deleted User) Date:19 Jun 2008 05:59 AM
Hi,
it looks that Sarissa is just a wrapper around the XSLT processor provided by the browser. It looks that if you prefer predictability you can force him to always use Javeline (see http://dev.abiss.gr/sarissa/howtos.html#javeline).
Unfortunately, if the bottleneck is the XSLT processor used by Firefox, the only thing you can do is avoiding the usage of the following:: axis in the XPath expression, as that usually breaks the optimizations made by an XSLT engine.
Subject:Slow for-each select Author:(Deleted User) Date:20 Jun 2008 04:54 AM
Your expression is simply testing the next d12 element, not extracting all the unique values; if you really need to iterate over all the unique d12 elements you have to use xsl:key