[xsl] Case conversion and document()

Subject: [xsl] Case conversion and document()
From: Jean-Francois Lefebvre <jean-francois.lefebvre@xxxxxxxxxx>
Date: Fri, 25 Feb 2005 12:39:36 -0500
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">

My question is simple : I want my file to be in lower case, how can I do

Here is what I tried :

<xsl:template match="class">
<xsl:variable name="lowername">
translate(@name, "abcdefghijklmnopqrstuvwxyz",

<xsl:document href="{$directory}{$lowername}.hpp" method="text">

But this doesn't work.

Can somebody help me with this?



Current Thread