xsl-list
[Top] [All Lists]

invalid xpath expression

2003-05-28 11:09:36
my xsl file is:

<xsl:choose>
<xsl:when test=".=list">
<xsl:variable name="n" select="12"/>
</xsl:when>
<xsl:otherwise>
<xsl:variable name="n" select="2"/>
</xsl:otherwise>
</xsl:choose>
-------------------
<xsl:variable name="m" select="$n"/>

i receive the error :invalid xpath expression!
so what the problem in <xsl:variable name="m" select="$n"/>?


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>