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