Subject: Re: [xsl] [fo] conditional item in the header of a page From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Mon, 20 Apr 2009 07:04:34 -0400 |
In a project I need to add a sign in the header if my page sequence spans multiple pages
Basically I have an fo:page-sequence for every occurrence of an XML element in my source
This page sequence can span multiple pages
In the header, I need to add an arrow symbol
- pointing to the right, if this particular page is not the last one in the sequence
- pointing to the left, if this particular page is not the first one in the sequence
Potentially a page has two arrow symbols in the page header Possibly a page has no arrows (if the XML element only spans one page
<retrieve-marker retrieve-class-name="leftarrow" retrieve-position="first-including-carryover"/>
<retrieve-marker retrieve-class-name="rightarrow" retrieve-position="last-ending-within-page"/>
<block> <marker marker-class-name="leftarrow"/> <marker marker-class-name="rightarrow"> .... definition of right arrow .... </marker> </block> <block> <marker marker-class-name="leftarrow"> .... definition of left arrow .... </marker> </block> ... rest of page sequence ...
... rest of page sequence ... <block> <marker marker-class-name="rightarrow"/> </block>
-- XSLT/XSL-FO/XQuery hands-on training - Los Angeles, USA 2009-06-08 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 Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ 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] [fo] conditional item in the , Geert Bormans | Thread | Re: [xsl] [fo] conditional item in , Geert Bormans |
[xsl] [fo] Standard font allover th, Geert Bormans | Date | Re: [xsl] [fo] Standard font allove, G. Ken Holman |
Month |