W3C home > Mailing lists > Public > www-xsl-fo@w3.org > April 2003

Re: text-transform

From: Thiadmer Sikkema <sikkema@grabowsky.com>
Date: Fri, 4 Apr 2003 08:52:58 +0200
To: www-xsl-fo@w3.org
Message-ID: <OFD1453A84.0D8229E7-ONC1256CFE.0024EBC5-C1256CFE.0025C704@gpnet.nl>
What about: the xpath function translate? Suppose you use a style sheet to 
transform your document to a XSLFO this could be a solution:

<xsl:value-of 
select="translate(.,'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ')">

This function does a character based 'replace'. Next Xpath version will 
probably support regular expressions...


Thiadmer


 
Received on Friday, 4 April 2003 01:49:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:10 GMT