Subject: RE: [xsl] On-the-fly case-conversion w. translate() From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Wed, 6 Apr 2005 23:08:57 +0100 |
> <xsl:if test="@name[not(translate (self::node(), > abcdefghijklmnopqrstuvwxyz, > ABCDEFGHIJKLMNOPQRSTUVWXYZ) = translate > (following::Program/@name, abcdefghijklmnopqrstuvwxyz, > ABCDEFGHIJKLMNOPQRSTUVWXYZ))]" > > > This does NOT work! Duplicates are eliminated, > however, "project oregon" & "Project Oregon " are > treated as separate /unique strings. What am I doing > wrong? > Try adding quotes, e.g. 'abcdefghijklmnopqrstuvwxyz' Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] On-the-fly case-conversio, David Carlisle | Thread | [xsl] How to pass a nodeset as para, Jaime Stuardo |
Re: [xsl] On-the-fly case-conversio, David Carlisle | Date | [xsl] How to pass a nodeset as para, Jaime Stuardo |
Month |