Ron Peterson said:
There are some fonts that display upper case characters for both upper and lower case characters.
Alternatively use the translate function from XPath.
With this XML,
- - -
<doc>
<title>Hello, world!</title>
</doc>
- - -
this transformation,
- - -
<xsl:stylesheet
version="1.0"
xmlns:xsl="
http://www.w3.org/1999/XSL/Transform">
<xsl

utput omit-xml-declaration="yes"/>
<xsl:template match="/doc">
<xsl:value-of select="translate(title,
'abcdefghijklmnopqrstuvwxyz',
'ABCDEFGHIJKLMNOPQRSTUVWXYZ')"/>
</xsl:template>
</xsl:stylesheet>
- - -
gives the result
- - -
HELLO, WORLD!
- - -
A neater way to do it if you have more than one occasion to upcase things is to define entities as follows:
- - -
<!DOCTYPE xsl:stylesheet [
<!ENTITY lower "abcdefghijklmnopqrstuvwxyz">
<!ENTITY upper "ABCDEFGHIJKLMNOPQRSTUVWXYZ">
]>
<xsl:stylesheet
version="1.0"
xmlns:xsl="
http://www.w3.org/1999/XSL/Transform">
<xsl

utput omit-xml-declaration="yes"/>
<xsl:template match="/doc">
<xsl:value-of select="translate(title,&lower;,&upper

"/> </xsl:template>
</xsl:stylesheet>
- - -
Ben