Lookup efficiency in XALAN?2003-11-20 14:45:29
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[(_at_)key=$id])">
It works for a while, then dies with an out of memory error, and it sure is
slow!
Any ideas for a faster/reliable search?
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
|
||||||||||||||||