Hey,
Is it possible to conditionally define an even page, based on
something in the xml? I'm trying to do something with <xsl:if>, but I
can't seem to get it to work, and I can't find good examples anywhere
of using it not in a for-each.
This is what I have:
<xsl:if test="BolReport/ReportType = 'Term'">
<fo:simple-page-master master-name="even"
page-width="8.5in" page-height="11in"
margin-top="0.13in" margin-bottom="0.25in"
margin-left="0.175in" margin-right="0.25in"
background-image="url({BOLReport/TermPath})">
<fo:region-body/>
</fo:simple-page-master>
</xsl:if>
And then in the xml:
<BOLReport>
...
<ReportType>Term</ReportType>
...
</BOLReport>
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--