|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xsl-fo header problems
At 2003-04-22 11:43 +0100, David.Pawson@xxxxxxxxxxx wrote:
Ken, I'd love to see your code for this. I can't get it to work as shown in the example, using xep or ah. I just added the following flow to the end of his example (his example didn't have any flow to work with): <fo:flow>
<fo:block space-before="2cm">
<fo:marker marker-class-name="series-title">Title here!</fo:marker>
This is a test.</fo:block>
<fo:block space-before="2cm">This is a test.</fo:block>
<fo:block space-before="2cm">This is a test.</fo:block>
<fo:block space-before="2cm">This is a test.</fo:block>
<fo:block space-before="2cm">This is a test.</fo:block>
<fo:block space-before="2cm">This is a test.</fo:block>
<fo:block space-before="2cm">This is a test.</fo:block>
<fo:block space-before="2cm">This is a test.</fo:block>
<fo:block space-before="2cm">This is a test.</fo:block>
<fo:block space-before="2cm">This is a test.</fo:block>
<fo:block space-before="2cm">This is a test.</fo:block>
<fo:block space-before="2cm">This is a test.</fo:block>
<fo:block space-before="2cm">This is a test.</fo:block>
<fo:block space-before="2cm">This is a test.</fo:block>
<fo:block space-before="2cm">This is a test.</fo:block>
<fo:block space-before="2cm">This is a test.</fo:block>
<fo:block space-before="2cm">This is a test.</fo:block>
<fo:block space-before="2cm">This is a test.</fo:block>
<fo:block space-before="2cm">This is a test.</fo:block>
<fo:block space-before="2cm">This is a test.</fo:block>
<fo:block space-before="2cm">This is a test.</fo:block>
<fo:block space-before="2cm">This is a test.</fo:block>
<fo:block space-before="2cm">This is a test.</fo:block>
<fo:block space-before="2cm">This is a test.</fo:block>
<fo:block space-before="2cm">This is a test.</fo:block>
<fo:block space-before="2cm">This is a test.</fo:block>
<fo:block space-before="2cm">This is a test.</fo:block>
<fo:block space-before="2cm">This is a test.</fo:block>
<fo:block space-before="2cm">This is a test.</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>You will see under Antenna House that the series title correctly shows up on each of the second and subsequent pages according to the page sequence. The original poster wasn't seeing the marker in the header and I'm seeing the marker in the header just fine. Readers should note, however, that my placing of the marker in only the first block instead of in a block that wraps the other blocks associates the marker with *only* the first block ... the combination of retrieve-boundary="page-sequence" and retrieve-position="first-starting-within-page" means the above will work without having to do the wrapping. When dealing with the last block for a marker, you must wrap the set of blocks with a block with the marker being the first child of the wrapper block. I hope this helps. .......................... Ken -- Upcoming hands-on courses: Europe (XSLT/XPath): May 5, 2003 - Europe (XSL-FO): May 16, 2003 - (XSLT/XPath and/or XSL-FO) North America: June 16-20, 2003 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) ISBN 0-13-065196-6 Definitive XSLT and XPath ISBN 0-13-140374-5 Definitive XSL-FO ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath ISBN 1-894049-10-1 Practical Formatting Using XSL-FO Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








