xsl-list
[Top] [All Lists]

Re: [xsl] error/confusion with translate function

2006-08-11 06:00:22
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/



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--