|
Subject: Re: [xsl] Different header on first page (xsl:fo)? From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Wed, 07 Apr 2004 11:21:05 -0400 |
I really need to have a different fo:region-before for the first page, but I have no idea how to do that, can I perhabs somehow access the current page number?
like:
<xsl:if test='pagenumber=1'> <fo:block>Do this!</fo:block> </xsl:if> <xsl:if test='pagenumber!=1'> <fo:block>Do that!</fo:block> </xsl:if>
<page-sequence-master name="all-pages">
<single-page-master-reference master-reference="first"/>
<repeatable-page-master-reference master-reference="rest"/>
</page-sequence-master> <static-content region-name="before-on-first">
<block>Do this!</block>
</static-content>
<static-content region-name="before-rest
<block>that</block>
</static-content>-- Public courses: Spring 2004 world tour of hands-on XSL instruction Each week: Monday-Wednesday: XSLT/XPath; Thursday-Friday: XSL-FO Hong Kong May 17-21; Bremen Germany May 24-28; Helsinki June 14-18
World-wide on-site corporate, govt. & user group XML/XSL training. G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Different header on first pag, Simon Dotschuweit | Thread | [xsl] Use of moded templates?, Mark Lundquist |
| RE: [xsl] Retaining XML output, Michael Kay | Date | [xsl] Use of moded templates?, Mark Lundquist |
| Month |