Can anyone tell me why my variable is undefined. The element certainly has a value which appears in the text box.
<xsl:for-each select="@addrnumber">
<input type="text" size="8"> <xsl:attribute name="value"> <xsl:value-of select="." /> </xsl:attribute> </input> <xsl:variable name="vaddrno"> <xsl:copy-of select="." /> </xsl:variable> <xsl:value-of select="$vaddrno" />
<a href="address01.asp?addrno={vaddrno}"> Ad </a> </xsl:for-each>
Help
<xsl:for-each select="@addrnumber">
<input type="text" size="8"> <xsl:attribute name="value"> <xsl:value-of select="." /> </xsl:attribute> </input> <xsl:variable name="vaddrno"> <xsl:copy-of select="." /> </xsl:variable> <xsl:value-of select="$vaddrno" />
<a href="address01.asp?addrno={vaddrno}"> Ad </a> </xsl:for-each>
Help