Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl] Problem finding set difference on string values [Thread Next] Re: [xsl] Problem finding set difference on string valuesTo: Date: 1/1/2008 11:05:00 AM Hi Mike, Both \r?\n and \s+ worked for me. Thanks a lot for the help. On Jan 1, 2008 4:22 PM, Michael Kay <mike@xxxxxxxxxxxx> wrote: > It might be that your input file contains CRLF rather than LF line endings. > The unparsed-text() function does not normalize line endings, and the regex > \n matches LF only. Use normalize-space() after tokenizing, or use \r?\n (or > perhaps even \s+) as the regex in tokenize(). > > Michael Kay > http://www.saxonica.com/ -- Regards, Mukul Gandhi | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
