|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Case conversion and document()
Hi everyone.
I'm new in the XSL arena, I have a problem with which I'm stuck.<
Please, look at this code.
<xsl:template match="class">
<xsl:document href="{$directory}{@name}.hpp" method="text">
...
</xsl:document>
</xsl:template>
My question is simple : I want my file to be in lower case, how can I do
that?
Here is what I tried :
<xsl:template match="class">
<xsl:variable name="lowername">
translate(@name, "abcdefghijklmnopqrstuvwxyz",
"ABCDEFGHIJKLMNOPQRSTUVWXYZ")
</xsl:variable>
<xsl:document href="{$directory}{$lowername}.hpp" method="text">
...
</xsl:document>
</xsl:template>
But this doesn't work.
Can somebody help me with this?
Thanks.
JF
www.jflefebvre.org
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








