Hi all:
:) i extract the portion of the xslt file below, didnt copy all , it is too
big. could any one tell me why it didnt filter the value=0. I still get 0
value in my result exec statement. I thought the following statements will
filter my exec results that contains none zero value.

Please advice urgently Thanks for helping me deadline is coming :(

<xsl:template match="%/ZIPPY/SENSITIVITY/_ID_CALC_CTRL_/[EMAIL PROTECTED] !=
0]%">
EXEC merlin_i_py_party_risk_matrix <xsl:value-of select="../../@pyramidID"/>
,'<xsl:choose><xsl:when test="starts-with(../underlying,
'indexSkew-')"><xsl:choose><xsl:when
test="contains(../underlying,'|')"><xsl:variable name = "indexName" select 
= "substring-before(substring-after(../underlying,
'indexSkew-'),'|')"/><xsl:value-of
select="$indexName"/></xsl:when><xsl:otherwise><xsl:value-of
select="substring-after(../underlying,
'indexSkew-')"/></xsl:otherwise></xsl:choose></xsl:when><xsl:otherwise><xsl:value-of
select="../underlying"/></xsl:otherwise></xsl:choose>',<xsl:choose><xsl:when
test="@label">'<xsl:value-of
select="@label"/>'</xsl:when><xsl:otherwise>'ABS'</xsl:otherwise></xsl:choose>
, <xsl:choose><xsl:when test="@matDate">'<xsl:value-of
select="@matDate"/>'</xsl:when><xsl:otherwise>NULL</xsl:otherwise></xsl:choose>
,<xsl:value-of select="@strike"/>,<xsl:choose> <xsl:when
test="contains(../underlying, '|')"> <xsl:variable name = "spread" select =
"substring-after(../underlying, '|')" /><xsl:value-of
select="$spread"/></xsl:when><xsl:otherwise> 0</xsl:otherwise></xsl:choose>,
<xsl:call-template name='idpr'><xsl:with-param name='id_calc'
select='name(..)' /> </xsl:call-template> , <xsl:value-of select="@value"/>
, <xsl:choose><xsl:when test="../../CCY_UNIT/@value">'<xsl:value-of
select="../../CCY_UNIT/@value"/>'</xsl:when><xsl:otherwise>NULL</xsl:otherwise></xsl:choose>
 
</xsl:template>
-- 
View this message in context: 
http://www.nabble.com/Please-help-urgent%21%21%21-tp19099158p19099158.html
Sent from the Xalan - J - Users mailing list archive at Nabble.com.

Reply via email to