[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xsl-list
Subject:    [xsl] =?windows-1256?Q?Does_'Lec=9Cur'_occur_in_$text=3F_Do_you_have_a_multi-fa?= =?windows-1256?Q?c
From:       "Costello, Roger L." <costello () mitre ! org>
Date:       2013-01-18 22:12:18
Message-ID: B5FEE00B53CF054AA8439027E8FE17751E6EF8D6 () IMCMBX04 ! MITRE ! ORG
[Download RAW message or body]

Hi Folks,

I want to determine if 'Lec=9Cur' occurs in $text.

A na=EFve solution is this XPath expression:

      contains($text, 'Lec=9Cur')

However, that does not take into account many important factors:

1. Perhaps 'Lec=9Cur' occurs, but in $text it is in uppercase

2. Perhaps instead of the '=9C' ligature, $text uses 'oe'

3. Perhaps in $text 'Lec=9Cur' is split over two lines and thus is hyphenat=
ed

4. Perhaps 'Lec=9Cur' is slightly misspelled in $text and therefore require=
s fuzzy matching

And there are many other important factors.

Do you have an XPath solution to this problem that takes into account the m=
any important factors?

/Roger

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe@lists.mulberrytech.com>
--~--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic