A
Andrzej Jan Taramina
I have a need to convert a number into the character that it
represents.
For example, if I have:
<xsl:variable name="number" select="169"/>
I want to be able to convert this to the character which is
represented by the number( in this example, it would be the hardcoded
character © the copyright character) for output.
What I would like to do is something like:
<xsl:value-of select="character( $number )"/>
where the value-of returns a single character to the output stream (in
this case the copyright character). But there is no such function as
character() that I have been able to find.
There doesn't seem to be an obvious way of doing this in XSLT.
Any ideas on how to do this?
Thanks!
.....Andrzej
NOTE: Remove Spamicide(tm) before replying!!!
represents.
For example, if I have:
<xsl:variable name="number" select="169"/>
I want to be able to convert this to the character which is
represented by the number( in this example, it would be the hardcoded
character © the copyright character) for output.
What I would like to do is something like:
<xsl:value-of select="character( $number )"/>
where the value-of returns a single character to the output stream (in
this case the copyright character). But there is no such function as
character() that I have been able to find.
There doesn't seem to be an obvious way of doing this in XSLT.
Any ideas on how to do this?
Thanks!
.....Andrzej
NOTE: Remove Spamicide(tm) before replying!!!