XSL FO – The Choose Conditional Test

<xsl:choose>

<xsl:when test=”//anode and //anode/@show=’Y'”>

<fo:block>Blah</fo:block>

</xsl:when>

<xsl:otherwise>
<fo:block>Blah</fo:block>

</xsl:otherwise>

</xsl:choose>

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.