[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

Subject: Re: fo:marker - can this be used to display header on page 3 using da ta from page 2?
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 18 May 2004 21:59:35 +0800
xsl fo checkbox
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


-- Public courses: Spring 2004 world tour of hands-on XSL instruction Next: 3-day XSLT/XPath; 2-day XSL-FO - Birmingham, UK June 14,2004

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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.