xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas L. Delmelle" <a_l.delme...@pandora.be>
Subject RE: How to capitalize text ???
Date Thu, 12 Feb 2004 14:02:29 GMT
> -----Original Message-----
> From: Glen Mazza [mailto:grm7793@yahoo.com]
> Of course, if you're only using the string in one place, or if you always
> want it capitalized, then you should be able to do the conversion in your
> database SQL to begin with:
> select upper(column_name) from table_name;

For the record:
If one is determined in leaving this up to the FO processor, this would
ultimately work as well in XSL-FO (just in case the SQL is out of your
control... and you're not working with FOP(*) --damn'! ;) ):

<!-- the following template will capitalize all text-nodes -->

<xsl:template match="text()">
  <fo:wrapper text-transform="uppercase">
    <xsl:value-of select="." />



(*) http://xml.apache.org/fop/compliance.html#fo-property-text-transform

To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org

View raw message