Subject: Re: [xsl] Lookup efficiency in XALAN? From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Thu, 20 Nov 2003 18:05:17 -0500 |
I have to do some validation in my xsl.
I'm doing the following type statement 20,000 times, and the lookup file is around 50,000 lines of id's <id key="XXYYZZJ"/>.
<xsl:when test="not(document('../master/ids-master.xml')/ids/id[@key=$id])">
It works for a while, then dies with an out of memory error, and it sure is slow!
<xsl:for-each select="$keyfile"> <xsl:when test="not(key('keys-by-id', $id))">...</xsl:when> </xsl:for-each>
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Lookup efficiency in XALAN?, JWolpert | Thread | RE: [xsl] Lookup efficiency in XALA, Michael Kay |
Re: [xsl] Including multiple XML do, Wendell Piez | Date | RE: [xsl] Lookup efficiency in XALA, JWolpert |
Month |