Subject: RE: [xsl] Manipulating capitals and lowercase in xsl From: "Dunning, John" <JDunning@xxxxxxxxx> Date: Thu, 18 Jul 2002 10:28:19 -0400 |
>Is anyone aware of [either] >a workaround A workaround would be to alter the capitalization in the FO stylesheet, using <xsl:translate>; for example: <text>hello</text> <xsl:template match="text"> <xsl:value-of select="translate(.,'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ ')"/> </xsl:template> returns "HELLO" <xsl:value-of select="translate(substring(.,1,1),'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJK LMNOPQRSTUVWXYZ')"/> returns "Hello" HTH, John XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Manipulating capitals and, DPawson | Thread | [xsl] abt xsl:fo, subbu |
Re: [xsl] javascript problem, Thomas B. Passin | Date | Re: [xsl] XSL-FO Vertical Text Orie, Oleg Tkachenko |
Month |