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

RE: XSL-FO: reset fo:page-number to 1 in each section

Subject: RE: XSL-FO: reset fo:page-number to 1 in each section of .pdf, based on XML input
From: "Greenbaum, Bill" <Bill@xxxxxxxxxxxx>
Date: Tue, 8 Apr 2003 09:46:43 -0400
xsl fo page number
I appreciate your suggested solution, but, as I understand it, it does not
solve the problem.  As I understand it, this suggested solution requires XML
input with differently named, pre-defined tags for each section of output
(i.e., along the lines of Dave Pawson's wonderful XSL-FO book:
<frontmatter></frontmatter>, <prefandtoc></prefandtoc>,
<chapters></chapters>, and <backmatter></backmatter>). In contrast, my XML
input has identically named <ITEM> tags, each containing 1 <BIRD> tag.  If
two or more BIRD tags contain the same contents, their ITEM tags belong to
the same section in the output.  Also, I don't know in advance how many
<BIRD>s belong to each section of output, and I don't know in advance how
many sections of output I'll generate from the input. That's why I can't
know in advance how many <fo:page-sequence>s I need inside the  <fo:root> of
my .xsl input.

Please correct me if I have misunderstood your suggestion.

>  -----Original Message-----
> From: 	W. Eliot Kimber 
> Sent:	Monday, April 07, 2003 5:20 PM
> To:	'XSL-List@xxxxxxxxxxxxxxxxxxxxxx'
> Subject:	FW: XSL-FO: reset fo:page-number to 1 in each section of
> .pdf, based on XML input
> 
> Greenbaum, Bill wrote: 
> >>Objective: Generate a .pdf with FOP, showing the <fo:page-number/>
> reverting to 1 on the first page for each BIRD. 
> You need to use a separate  fo:page-sequence for each BIRD. You can set
> the initial page number to whatever you want for each page sequence. 
> Cheers, E. -- W. Eliot Kimber, eliot@xxxxxxxxxx Consultant, ISOGEN
> International 
> 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.