[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

XSL-FO conditional pagination and content

Subject: XSL-FO conditional pagination and content
From: "Greenbaum, Bill" <Bgreenbaum@xxxxxxxxxxxxxx> (by way of B Tommie Usdin)
Date: Fri, 26 Mar 2004 15:58:07 -0500
xsl fo conditional
From: "Greenbaum, Bill" <Bgreenbaum@xxxxxxxxxxxxxx>
To: "'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'" <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject: XSL-FO conditional pagination and content
Date: Fri, 26 Mar 2004 11:33:10 -0500


In XSL-FO, I have a pagination pattern that requires a dynamic first page, a static last page, and optional rest page(s) if the data listed on the first page's body area spills over to a second page or even a third page or beyond.

  Until now, I'd solved this problem with one simple page-sequence.  Now I
  want to add some summary content at the beginning of the rest page(s)
  only, either part of the region-before area, or part of the body.  I've
  tried to test for the value of <fo:page-number/> in my XSL-T stylesheet,
  something like:
  <xsl:variable name="pgNumber"><fo:page-number/></xsl:variable>
  <xsl:if test="$pgNumber &gt; 1">
     optional content goes here
  </xsl:if>

  However, <fo:page-number/> does not appear to be readable to the
elements
  in the xsl: namespace.
  I'd like to do this while continuing to use the simplest XSLFO, with
just
  one page-sequence. If not, I'll be doing it with a page-sequence-master
  containing conditional-page-master-references for "first", the optional
  "rest", and the static "last".  Your guidance would be appreciated.
	P.S. my xsl version is:
	http://www.mulberrytech.com/xsl/xsl-list/processor-version.xsl:
		Vendor: Microsoft
		Vendor URL: http://www.microsoft.com

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.