Subject: RE: don't get variables
From: Mike Brown <mbrown@xxxxxxxxxxxxx>
Date: Thu, 11 Nov 1999 10:58:12 -0700
|
Alexandra Morgan wrote:
> I don't understand how one is supposed to access the value of
> variables. Why does this not put A in the result:
>
> <xsl:template match="/">
> <xsl:variable name="test" select="A"/>
> <xsl:value-of select="$test" />
> </xsl:template>
<xsl:variable name="NameOfVariable" select="XPathExpression"/>
A is an expression that means 'child nodes of the current node that are
elements named A'. What you want is 'A' (in single quotes).
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|