This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
variable problem
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] variable problem
- From: Jo Bourne <venus at va dot com dot au>
- Date: Sat, 3 Feb 2001 00:53:07 +1100
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi,
I have created a variable like this:
<xsl:variable name="table_name" select="/page/@table_name" />
and to test that I am getting the right value (and I am) I have
inserted it in my page like this:
table_name=<xsl:value-of select="$table_name" />
but when I try to use my variable like this :
<xsl:apply-templates select="Links"/>
or this
<xsl:template match="$table_name">
it doesn't work (the document won't parse anymore). Is there
something I have misunderstood about where you can and cannot call a
variable?
thanks in advance
Jo
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list