Re: [xsl] Conditional Grouping

Subject: Re: [xsl] Conditional Grouping
From: Mukul Gandhi <mukul_gandhi@xxxxxxxxx>
Date: Wed, 9 Mar 2005 20:35:26 -0800 (PST)
Hi Alex,
  Everything looks fine to me. Except you can improve
the performance of the transform by replacing the
below statement with..
<xsl:template match="LINEITEMS">
  <xsl:for-each select="item[generate-id() ......

Please don't use // . As it searches the item nodes
from root node to arbitrary depth.. This is an
expensive operation and does not seem to be required..


--- Alex Zelinski <Alex.Zelinski@xxxxxxxxxxxx> wrote:
> <xsl:template match="LINEITEMS">
>   <xsl:for-each select="//item[generate-id() =
> generate-id(key('refdocno-group', REF_DOC_NO)[1])]">
> Alex Zelinski

Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site! 

Current Thread