I have an XSLT with
<xsl:copy-of select="ABCDEFG"/>
I tried applying If condition like below:
<xsl:if test="(string(STAT)='E0001') or (string(STAT)='I0002')">
<xsl:copy-of select="ABCDEFG"/>
</xsl:if>
I have multiple nodes: ABCDEFG in the XML and System is currently not selecting any of the ABCDEFG nodes with the above IF condition. Please let me know how to write the If condition. Also would like to know how to write If condition with 'NOT' instead of multiple 'OR's
Aucun commentaire:
Enregistrer un commentaire