Subject: Re: [xsl] the match() function From: RahilQ <qamar_rahil@xxxxxxxxxxx> Date: Thu, 21 Apr 2005 10:05:40 +0100 |
Yeah thats right and there is no pattern match Im trying to achieve over here which is why I couldnt understand the need for regular expressions here.If you don't understand what a regular expression is then you shouldn't be using the matches() function at all: I suspect this is the source of your confusion (and ours). I suspect that you are just trying to compare two strings to see if they are equal ignoring case. Yes?
The correct solution for that is to use the compare() function, specifying a
case-blind collation. Unfortunately collation names are processor dependent,
so you may prefer the simpler (but less accurate) approach of testing
lower-case($A) = lower-case($B).
Thanks Rahil
Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] the match() function, Michael Kay | Thread | Re: [xsl] the match() function, David Carlisle |
RE: [xsl] the match() function, Michael Kay | Date | RE: [xsl] How to get the sibling no, Michael Kay |
Month |