[xsl] $string + 'string' in one line

Subject: [xsl] $string + 'string' in one line
From: Daniel Bauke <bonkey@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 23 May 2001 12:39:31 +0200
<xsl:variable name="root_dir" select="'/cocoon/awk'"/>
<xsl:variable name="styles_dir">
    <xsl:copy-of select="$root_dir"/>/styles
</xsl:variable>

<xsl:template match="body">
<link rel="stylesheet" type="text/css" href="{$styles_dir}/{@style}.css"/>
</xsl:template>

produces:
   <link rel="stylesheet" type="text/css" href="/cocoon/awk
   /styles/simple.css"/>

but i want to have it in one line. how should i do it?

i hope it's not stupid question again. i still have no good
manual and short deadline to prepare some schematic pages (maybe
it's my fault i tried it with xslt, which i've never used), so
please forgive me ;-)

-- 
Daniel `bonkey' Bauke; http://www.oho.pl/~bonkey/; {happiness=bike&&unix;}

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread