jaango123 0 Light Poster

Any look up function can we use, to make this simple, so that we can write in 5 or 6 lines. We have similar lines repeating for around 300 lines. All we need is to map 'currcode' with the corresponding alphabets.


<xsl:if test="$currCode='784'">
<xsl:value-of select="'AED'" />
</xsl:if>
<xsl:if test="$currCode='971'">
<xsl:value-of select="'AFN'" />
</xsl:if>
<xsl:if test="$currCode='008'">
<xsl:value-of select="'ALL'" />
</xsl:if>