phil
09-05-2002, 01:50 PM
<xsl:template match="analyste">
<p onClick="display('<xsl:value-of select="email"/>')"><xsl:value-of select="nom"/></p>
</xsl:template>
I get the message: The character '<' cannot be used in an attribute value.
I have to pass a string as argument for the function "display()", because if I pass a variable reference (which stores the <xsl:value-of select="email"/>), the argument is set to the last value of the variable.
How can I pass the actual string value of a variable?
Phil
<p onClick="display('<xsl:value-of select="email"/>')"><xsl:value-of select="nom"/></p>
</xsl:template>
I get the message: The character '<' cannot be used in an attribute value.
I have to pass a string as argument for the function "display()", because if I pass a variable reference (which stores the <xsl:value-of select="email"/>), the argument is set to the last value of the variable.
How can I pass the actual string value of a variable?
Phil