</font><br></br>
Is:
<br/><br/>
-----Original Message-----
From: T Uma Shankari
[mailto:umashankari(_at_)lantana(_dot_)tenet(_dot_)res(_dot_)in]
Sent: Tuesday, January 17, 2006 6:17 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] integer comparision
Greetings!
I have 2 integer values stored in different variables. By comparing both
the values, i am trying to display another variable value in different
color. But its showing all the variables in blue color. Here is my
xsl file.
<xsl:template name="replaceoptionsupclose">
<xsl:param name="stringfinal"/> // final string
<xsl:param name="optcorrectno"/> // integer value 1
<xsl:param name="optposition"/> // integer value 2
<xsl:if test="$optcorrectno=$optposition">
<font color="blue">
<xsl:value-of select="$stringfinal" /> // display final
string
</font><br></br>
</xsl:if>
<xsl:if test="not($optcorrectno=$optposition)">
<font color="black">
<xsl:value-of select="$stringfinal" /> // display final
string
</font><br></br>
</xsl:if>
</xsl:template>
please correct me where i am doing wrong
thanks in advance!
uma
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--