This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

variable problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]