B
biswaranjan.rath
Can i do something like this:
<xsl:variable name="varMaxDiffId">
<xsl:choose>
<xsl:when test="$varMaxDiffId == 'NULL'">
<xsl:value-of select="-1"/>
</xsl:when>
<xsl:when test="$varMaxDiffId < @unique_diff_id">
<xsl:value-of select="@unique_diff_id"/>
</xsl:when>
</xsl:choose>
</xsl:variable>
Please suggest some solution. I want to find out maximum unique_diff_id
from the document.
Thanks,
Biswaranjan
<xsl:variable name="varMaxDiffId">
<xsl:choose>
<xsl:when test="$varMaxDiffId == 'NULL'">
<xsl:value-of select="-1"/>
</xsl:when>
<xsl:when test="$varMaxDiffId < @unique_diff_id">
<xsl:value-of select="@unique_diff_id"/>
</xsl:when>
</xsl:choose>
</xsl:variable>
Please suggest some solution. I want to find out maximum unique_diff_id
from the document.
Thanks,
Biswaranjan