Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata
<xsl:variable name="TESTVAR" select="Y" />

If:

<xsl:if test="$TESTVAR = 'Y'">
 <xsl:text>CDUP </xsl:text>
</xsl:if>

Note: If you need ELSE then you use 'When/Otherwise'

      <xsl:choose>
        <xsl:when test ="$TESTVAR = 'Y'">
          ...
        </xsl:when>
        <xsl:otherwise>
          ...
        </xsl:otherwise>
      </xsl:choose>
  • No labels