|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Question about Page-Masters
Thea,
Is there a reason you cannot simply declare a separate page master, one without columns, and switch to it for that last chapter? Generally, this can be done easily enough by having a separate template to match the last chapter, which calls the special page master. Or even using a conditional in the one template, like so: <xsl:template match="chapter">
<xsl:variable name="layout">
<xsl:choose>
<xsl:when test="not(following-sibling::chapter)">nocolumns</xsl:when>
<xsl:otherwise>columns</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<fo:page-sequence master-name="{$layout}">
....
</fo:page-sequence>
</xsl:template>This is assuming you're assigning each chapter to its own page sequence. If this is not the case (e.g. if chapters except the last are to be pulled together into a sequence), the problem is harder (though not necessarily much harder). Cheers, Wendell At 09:54 AM 8/22/2003, you wrote: Hi. ====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ====================================================================== XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








