[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Newbie Key Function issue
I saw that after the email was sent I made the change and it is much more efficient. Thanks!! -----Original Message----- From: Michael Kay [mailto:mhkay@xxxxxxxxxxxx] Sent: Friday, July 06, 2001 10:47 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: 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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|