Re: [xsl] Processing two documents, which order?

Subject: Re: [xsl] Processing two documents, which order?
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Thu, 07 Apr 2011 16:03:14 +0100
The regex is required as I see it to determine starting and ending
conditions for the 300 'words'? I don't see how one...
Could I build and hold 300 regexen for later use, is that what
you were thinking Mike?

I'm still unsure of the approach though.
1. Build the keys on the smaller list of words
2. ??? build the sequence of regexen?
3. then....
    AFAICT I'm still going to have to process the entire long document
with each regex in the sequence?

I would have expected to use a single fixed regex to tokenize the text into words, and then compare each word with those in the lookup list by using equality matching rather than regex matching.

Michael Kay

Current Thread