Subject: RE: variable problem
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Fri, 2 Feb 2001 23:12:25 -0000
|
> I need match="$table_name" to result in match="abc" not
> match="/page/@table_name" is there some other way I can do this than
> with a variable?
No. People are always trying to use variables as textual macros, and it
doesn't work, because they aren't. Variables hold values, not expressions or
patterns.
I'm still waiting for someone to request:
<xsl:variable name="inc" select="'import'"/>
<xsl:$inc href="ss2.xsl"/>
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|