[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

variable problem

Subject: variable problem
From: Jo Bourne <venus@xxxxxxxxx>
Date: Sat, 3 Feb 2001 00:53:07 +1100
 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.