FOP 0.95 / Redhat Linux / Java 1.5
When the tag "send-fax" does not exist print the lilly, when send-fax=Y,
print the pebble. I always get the Lilly. Can you determine why?
<xsl:choose>
<xsl:when test="./send-fax='Y'">
<!-- region-before means region before the body(top 1/3 of
folio -->
<fo:region-before extent="3.0in"
background-repeat="no-repeat"
margin-top=".5in"
background-image="url('java/images/Pebble.jpg')"
background-position-vertical="bottom"
display-align="after" />
</xsl:when>
<xsl:otherwise>
<fo:region-before extent="3.0in"
background-repeat="no-repeat"
margin-top=".5in"
background-image="url('java/images/Lilly.jpg')"
background-position-vertical="bottom"
display-align="after" />
</xsl:otherwise>
</xsl:choose>
Jeff