Subject:XSL Efficiency tips Author:Richard Potts Date:19 Jul 2007 06:15 AM
I've got a number of XSLTs that I've got integrated into a batch processing application (I'm processing about 50,000 files at a go at the moment and this is increasing). I'm looking to make my XSLT as efficient as possible to reduce processing time.. So are there any general efficiency tips I can review (I couldn't find any)?
I've used the profiler and can see my biggest 'expense' is 'looking up' data in external files e.g.
Subject:XSL Efficiency tips Author:Alberto Massari Date:19 Jul 2007 08:13 AM
I guess you are invoking that part of the code multiple times (each time looking for a different $pid); in thic case, you could use xsl:key to index the content of the file and quickly pick the right name given the pid.