RE: [xsl] Newbie Key Function issue

Subject: RE: [xsl] Newbie Key Function issue
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Fri, 6 Jul 2001 15:47:17 +0100
>  The Key function works well but it is so SLOWWWWWWWW.  Can anyone
> take a look below
> and see if there is anyway to refine or filter my lookup in
> order to speed this process up??

> <xsl:key name="ODCust" match="Entity" use="//Entity/EntityId/@value" />

I'm amazed it works at all. You are indexing every Entity element by the
value of every Entity/EntityId/@value in the document. You want to index it
only by the value for that Entity, which is

<xsl:key name="ODCust" match="Entity" use="EntityId/@value" />

Mike Kay
Software AG

 XSL-List info and archive:

Current Thread