xslt question
i have the following code in a loop. it works until i try to do it with a
condition of Price greater than 40 (the commented out section). thanks in
advance.
<xsl:for-each select="*">
<td>
<xsl:attribute name="style">
<xsl:choose>
<xsl:when test="name()='Price'">
<!-- <xsl:when test="name()='Price' and Price>40"> -->
<!-- <xsl:if test="Price>40"> -->
color:green
<!-- </xsl:if> -->
</xsl:when>
<xsl:when test="name()='Authors'">
color:red
</xsl:when>
<xsl:otherwise>
color:black
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:value-of select="."/>
</td>
</xsl:for-each>

