[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSL-FO: Suppressing Header on First Page of Chapte
Hi Jordan,
This can be done by setting up a page-sequence-master that uses different page-masters for its first and subsequent pages. An example is provided in the Docbook XSL-FO documentation: see http://www.sagehill.net/docbookxsl/PageDesign.html This is also documented in any reasonably decent book about how to use XSL-FO. But if you get the names of the elements you need from the docbook page, you can probably work out what you want to do from the spec and other resources. You'd have a new page sequence for each chapter, which would flow the chapter into a sequence of pages, only the first of which would use a special "first-page" design. So you'd have something like <fo:page-sequence-master master-name="chapter"> <fo:repeatable-page-master-alternatives> <fo:conditional-page-master-reference master-reference="chapter-first" page-position="first"/> <fo:conditional-page-master-reference master-reference="rector" odd-or-even="odd"/> <fo:conditional-page-master-reference master-reference="verso" odd-or-even="even"/> <fo:conditional-page-master-reference master-reference="blank" blank-or-not-blank="blank"/> </fo:repeatable-page-master-alternatives> </fo:page-sequence-master> Enjoy, Wendell At 12:44 AM 3/19/2006, you wrote: Hey folks, ====================================================================== 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 ======================================================================
|
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
|