[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XSL-FO conditional pagination and content
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
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 > 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
|
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
|