Subject: Re: [xsl] Problem finding set difference on string values From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx> Date: Tue, 1 Jan 2008 16:34:27 +0530 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Problem finding set diffe, Michael Kay | Thread | [xsl] XSLT for XHTML1 to XHTML2, Vyacheslav Sedov |
RE: [xsl] Problem finding set diffe, Michael Kay | Date | [xsl] XSLT for XHTML1 to XHTML2, Vyacheslav Sedov |
Month |