[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: RE: Seperating Heading from Content

Subject: Re: RE: Seperating Heading from Content
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 08 Nov 2011 11:54:46 -0500
Re:  RE: Seperating Heading from Content
Toon,

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. I can think of a few people who could speak to this better (including Ken).

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.

Cheers,
Wendell

On 11/8/2011 11:29 AM, Struijk, Toon van der wrote:
Ken, I've worked with<fo:static-content> before but not with markers. So could you provide me some code examples on how this works.

Met vriendelijke groet,

Toon van der Struijk
Art Director


--
======================================================================
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.