This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Newbie Key Function issue


>  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:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]