|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: fo:marker - can this be used to display header on
To answer the question in your subject: no ... but you don't need to from
what I interpret from your post.
At 2004-05-18 14:41 +0100, Williams, Brett L wrote: I am hoping to clarify what I have gathered from elsewhere with regard to limitations of fo:marker. Not sure what you classify about markers as limitations. I am producing a report that is broken down into classrooms, each classroom has a number (n) - there are a list of names under each classroom. Occasionally the list of names runs over onto the next page of the document. I need to add the text 'Classroom (n) Continued' at the top of the next page only if this happens. The design pattern is as follows: <static-content ...>
<retrieve-marker .../>
</static-content>
...
<xsl:for-each select="classroom">
<block>
<marker ...>Classroom (n) Continued</marker>
<block>...</block>
<block>...</block>
<block>...</block>
<block>...</block>
</block>
<block>
<marker ...></marker>
</block>
</xsl:for-each>That way the marker is ready to be used if a page breaks in the middle of the blocks, but if all of the blocks fit, the following marker "clears out" the "continued text" and it doesn't show at the top. I hope this helps. ........................ Ken
World-wide on-site corporate, govt. & user group XML/XSL training. 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) Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
|
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








