|
Subject: xsl:variable From: Anton Swanevelder <AntonS@xxxxxxxxxxxx> Date: Wed, 22 Mar 2000 17:13:10 +0200 |
Hi
I am trying to do what I think is pretty much straight forward for most of
you but...
<xsl:template match="rs:data">
<xsl:variable name="caption"><xsl:value-of select="."/></xsl:variable>
<TABLE>
<th><INPUT TYPE="BUTTON" VALUE="{$caption}"
sortfld="date(@TradeDate)"/></th>
</TABLE>
</xsl:template>
I am trying to read a value out of a XML document to use as a value for the
button in HTML.
According to the XML Bible this is suppose to work. IE 5 just refuses to
interpret the xsl:variable. I am
using the <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
namespace.
Is there anybody out there that know why this wont work or have any
alternative of doing this.
Kind Regards,
Anton
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| use JavaScript to access a differen, Wielenga, Geertjan | Thread | Re: xsl:variable, Mahendran Duraisamy |
| use JavaScript to access a differen, Wielenga, Geertjan | Date | RE: variable, Ben Robb |
| Month |