[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] error/confusion with translate function
Subject: Re: [xsl] error/confusion with translate function
From: Nick Fitzsimons <nick@xxxxxxxxxxxxxx>
Date: Fri, 11 Aug 2006 14:00:04 +0100
|
Duane Gran wrote:
<xsl:variable name="thumbnail"
select="translate($thumbnail-mixedcase,
'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqqrstuvwxyz')"/>
-------------------------------------------------^
You've got two lower-case "q"s, meaning Q will be converted to q, R will
also be converted to q, and everything from there on in will be one
letter back from what you expected.
Cheers,
Nick.
--
Nick Fitzsimons
http://www.nickfitz.co.uk/
|