Re: [xsl] Selecting the value from diff i/p XML

Subject: Re: [xsl] Selecting the value from diff i/p XML
From: Mukul Gandhi <gandhi.mukul@xxxxxxxxx>
Date: Thu, 16 Sep 2010 09:08:01 +0530
On Thu, Sep 16, 2010 at 6:14 AM, Mukul Gandhi <gandhi.mukul@xxxxxxxxx> wrote:
> 2.0

> B  <xsl:for-each select="item[@id = key('by-id', current()/@id,
$doc2)/@id]">

here the loop is linear too (i.e a linear traversal from user
perspective -- though in memory real traversal algorithm could be XSLT
processor specific), but the value lookup by 'key' here is indexed by
the XSLT processor (the internals of this is again processor
specific), which usually performs faster for large data sets.



--
Regards,
Mukul Gandhi

Current Thread