That is what I have already posted.Try with the below:
<xsl:variable name="dummy" select="ArrayOfBookMark/BookMark[ShortName='Asp-7041-EndVar1']/Value"/>
<xsl:variable name="dummy1">
<xsl:choose>
<xsl:when test="($dummy!='')">
<xsl:value-of select="$dummy"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$dummy"/>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:call-template name="dvalueadded">
<xsl:with-param name="p" select="$dummy1"/>
</xsl:call-template>
</xsl:template>
<xsl:template name="dvalueadded">
<xsl:param name="p"/>
<xsl:value-of select="$p"/>
</xsl:template>
__________________
Rummy
|