How to I combine the first if statements and the second if statements? I need to add the second if statement conditions as extra conditions into the first if statement? The first if statement conditions should remain as they are, but add more conditions from the second if statement. For example not adding Op='E' to Integration/Case/@Op !='A'. These conditions on first if statement are independent of the conditions on the second if statement. The second if statement logic is as follows IF Integration/Case/@Op='E' AND Integrations/Case/Deleted has no Op codes AND Integrations/Case/Expunged has no Op codes
First if statement
<xsl:if test="((Integration/Case/@Op !='A') or (string-length(Integration/Case/@Op)=0))">
</xsl:if>
Second if statement
<xsl:if test="((Integration/Case/@Op ='E') and (string-length(Integration/Case/Expunged/@Op)=0) and (string-length(Integration/Case/Deleted/@Op)=0))">
</xsl:if>