XSL if condition checking problem

wxdqz

New Member
Please find the attached XML and the XSL.

The condition below is not geting satisfied.

<xsl:if test="../View/FileSelect/@identity = 'CPS_FILE_ONE'">
<TD align="left" vAlign="top" ><xsl:value-of select="../View/FileSelect/filename"/></TD>
</xsl:if>
<xsl:if test="../View/FileSelect/@identity = 'CPS_FILE_TWO'">
<TD align="left" vAlign="top" ><xsl:value-of select="../View/FileSelect/filename"/></TD>
</xsl:if>

It displays the same file name in case of CPS_FILE_ONE and CPS_FILE_TWO. Please help
 
Back
Top