[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Processing two documents, which order?

Subject: Re: Processing two documents, which order?
From: Dave Pawson <davep@xxxxxxxxxxxxx>
Date: Thu, 7 Apr 2011 17:15:15 +0100
Re:  Processing two documents
On Thu, 07 Apr 2011 16:03:14 +0100
Michael Kay <mike@xxxxxxxxxxxx> wrote:

> > 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
> Saxonica

The larger document is fully marked up XML so I don't want to tokenize
the entire thing, though that might work on the template
matching text().

as the input... what would the keys look like?


Dave Pawson

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.