I am trying try this link for else if
condition but without sucess.
My code is
<xsl:choose>
<xsl:when test="//./ActionParams/@txt_sid = '110'">
<xsl:for-each select="ext">
<config type="2"
localserver="newxyz.com"
liveserver="newxyz.com"
httpuri="/etmailregistration/ok/UnsubFrmApp?sendmail=1"
params="txt_id,txt_sid"
readtimeout="39000" retry="3"/>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="ext">
<config type="2"
localserver="oldxyz.com"
liveserver="oldxyz.com"
httpuri="/etmailregistration/UnsubFrmApp.aspx?sendmail=1"
params="txt_id,txt_sid"
readtimeout="39000"
retry="3"/>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
My service call is only newxyz.com
If txt_sid = 110
then it calls newxyz.com
If txt_sid = 120
then it calls newxyz.com
, not oldxyz.com
Can you please tell me where I am wrong.