Subject: Re: [xsl] XSL-FO beginner's question From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Mon, 28 Sep 2009 16:51:23 -0400 |
Gentlemen,
I am having difficulty breaking into the complexities of FO
and have an assignment at work which is proving daunting. THis list has helped me so much with XSL that I thought someone here would indulge me in a simple start-up question.
Here goes. I have some XML and an XSL-FO style sheet which generates exactly one page of dynamic content transformed from the xml. It itself includes another stylesheet which dynamically generates an undefinined number of pages to follow the first page. These work fine and I do not wish to change them (!).
My task is deceptively simple for me. I have to augment the first driver stylesheet to allow for the inclusion of another XSL-FO stylesheet which should generate exactly one page of purely static text, which must be the last page of the entire PDF.
Can anyone give me the most basic start-off template for this last, static page, and how to include it to assure the correct positioning at the end?
<?xml version="1.0" encoding="US-ASCII"?><!--mark.fo--> <root xmlns="http://www.w3.org/1999/XSL/Format" font-family="Times" font-size="20pt">
<layout-master-set> <simple-page-master master-name="frame" page-height="297mm" page-width="210mm" margin-top="15mm" margin-bottom="15mm" margin-left="15mm" margin-right="15mm"> <region-body region-name="frame-body"/> </simple-page-master> </layout-master-set>
<page-sequence master-reference="frame"> <flow flow-name="frame-body"> <block>This is your first page of content</block> </flow> </page-sequence>
<page-sequence master-reference="frame"> <flow flow-name="frame-body"> <block> This is where all your indeterminate length of content goes </block> </flow> </page-sequence>
<page-sequence master-reference="frame"> <flow flow-name="frame-body"> <block>This is your last page of fixed content.</block> </flow> </page-sequence> </root>
-- Upcoming hands-on code list, UBL, XSLT, XQuery and XSL-FO classes. Interested in other classes? http://www.CraneSoftwrights.com/s/i/ Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video Video lesson: http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18 Video overview: http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18 G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XSL-FO beginner's question, mark bordelon | Thread | Re: [xsl] XSL-FO beginner's questio, mark bordelon |
[xsl] XSL-FO beginner's question, mark bordelon | Date | Re: [xsl] XSL-FO beginner's questio, mark bordelon |
Month |