Subject: Re: variable problem
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 2 Feb 2001 14:31:01 GMT
|
> 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?
Yes, you can't use variables in match expressions.
It isn't clear what you are trying to do.
If
table_name=<xsl:value-of select="$table_name" />
produces
table_name=abc
Did you intend
<xsl:template match="$table_name">
to act like
<xsl:template match="abc">
or
<xsl:template match="/page/@table_name">
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- variable problem
- Jo Bourne - Fri, 2 Feb 2001 08:53:46 -0500 (EST)
- David Carlisle - Fri, 2 Feb 2001 09:32:26 -0500 (EST) <=
- Jo Bourne - Fri, 2 Feb 2001 18:00:08 -0500 (EST)
|
|