Subject: Re: [xsl] XSL-FO page layout question From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Thu, 29 Mar 2007 12:26:13 -0400 |
<fo:page-sequence master-reference="my-sequence"> <fo:static-content flow-name="first-before"> ... </fo:static-content> <!-- This code sets up running head for odd pages --> <fo:static-content flow-name="odd-before"> ... </fo:static-content> <!-- This code sets up running head for even pages --> <fo:static-content flow-name="even-before"> ... </fo:static-content> <fo:flow flow-name="xsl-region-body"> <xsl:apply-templates select="/book/body"/> </fo:flow> </fo:page-sequence>
(where the above appeared) <xsl:apply-templates select="/book/body/chapter"/>
<xsl:template match="chapter"> <fo:page-sequence master-reference="my-sequence"> ... first, your static contents ... then: <fo:flow flow-name="xsl-region-body"> <xsl:apply-templates/> </fo:flow> </fo:page-sequence> </xsl:template>
Cheers, Wendell
====================================================================== 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 ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XSL-FO page layout question, Cindy Hunt | Thread | RE: [xsl] XSL-FO page layout questi, Cindy Hunt |
RE: [xsl] Convert to RFC822 via XSL, Austin, Darrel | Date | [xsl] Output multiple occurence int, Shaikh, Parvez |
Month |