Subject: Re: [xsl] RE: Seperating Heading from Content From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Tue, 08 Nov 2011 12:02:11 -0500 |
Just to clarify: the mechanism Ken described will give you your heading on every page, until a new heading replaces it (on every page).
It wasn't clear to me from your original description whether you wanted your h2 to appear on every page, or only on the first page of the section, occupying a reserved space.
Come to think of it, I wonder if you couldn't fake this by placing an empty marker directly after each marker generated for an h2.
In order to suppress the marker from subsequent pages of content of the same H2, you immediately define the marker to be empty after defining the marker to have content.
I can think of a few people who could speak to this better (including Ken).
<!--empty the header for any page breaks before the next header--> <block><marker marker-class-name="h2"/></block>
Yet at the same time (if this is the case), it seems that the "correct" solution would be to use a new page sequence for every section, with a special geometry on the first page. Unfortunately, in your case this would seem to present an overlap problem, since your sections do not (do they?) have natural wrappers in the source document, which would map to page-sequence elements in the FO. Yet at the same time, XSLT 2.0 offers solutions to this.
If you want your heading to appear on every page until a new header replaces it, that's what FO markers are for.
-- Contact us for world-wide XML consulting and instructor-led training Free 5-hour video lecture: XSLT/XPath 1.0 & 2.0 http://ude.my/t37DVX Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Google+ profile: https://plus.google.com/116832879756988317389/about Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] RE: Seperating Heading fr, Wendell Piez | Thread | Re: [xsl] RE: Seperating Heading fr, Wendell Piez |
Re: [xsl] RE: Seperating Heading fr, Wendell Piez | Date | Re: [xsl] RE: Seperating Heading fr, Wendell Piez |
Month |