> Afterall the number of loops in here is the same as the number > of vars... the cost of a loop is not the loop so much rather the cost of finding teh nodes, so (in any of the versions) istead of repeatedly going <xsl;for-each select="/a/b/c/d/e/f/" go <xsl:variable name="x" select="/a/b/c/d/e/f/" /> <xsl:for-each select="$x"/> that way you onlyneed do teh search once. (Actually some xslt systems may spot the same xpath being used more than once and do this optimisation automatically. Alternatively you can use a key david ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format