Subject: [xsl] Changing case using translate() From: "Andrew Welch" <andrew@xxxxxxxxxxxxxxxxxxxxxxx> Date: Thu, 15 Feb 2001 13:41:53 -0000 |
Hi, As I understand it, case conversion is done using translate(xxxx,abcdefghijklmnopqrstuvwxyz,ABCDEFGHIJKLMNOPQRSTUVWXYZ) Im trying to incorporate it into the following line of code, to allow case-independant searching: <xsl:for-each select="TBD/business[contains(*[local-name() = $param1], $param2)]"> By converting both params to uppercase it should allow, for example, 'rising' to match 'Rising Sun'. Where should it go?? All my attempts so far seem to make no difference whatsoever... Thanks Andrew Welch XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] CDATA back to its origina, Jeni Tennison | Thread | Re: [xsl] Changing case using trans, Jeni Tennison |
Re: [xsl] CDATA back to its origina, David Carlisle | Date | RE: [xsl] Default namespaces in QNa, Michael Kay |
Month |