Name

<xsl:if>

Synopsis

<xsl:if
    test = boolean-expression>
  <!-- Content: template -->
</xsl:if>

See XSLT specification section 9.1: “Conditional Processing with <xsl:if>.” http://www.w3.org/TR/xslt#section-Conditional-Processing-with-xsl:if

Get Java and XSLT now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.