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

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

Subject: Re: RE: XSL-FO: reset fo:page-number to 1 in each section of .pdf, based on XML input
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 8 Apr 2003 15:14:34 +0100
xslt reset page number
  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.

This sounds like a standard kind of grouping problem, see the grouping
pages at the Faq or Jeni's site.

> 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.

You don't need to know the number before you run the XSLT, the only
question is whether XSLT can calculate this from the input, and that
appears to be the case from the description. It sounds like you want to
group the item elements based on their contents, and put the result from
each group of items into a different page sequence.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 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.