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

Re: Creating multiple PDF files from a single XSL-FO

Subject: Re: Creating multiple PDF files from a single XSL-FO script
From: "Mark Wilson" <mark@xxxxxxxxxxxx>
Date: Wed, 19 Aug 2009 13:03:56 -0700
Re:  Creating multiple PDF files from a single XSL-FO
Thanks, that would be handy, but I am using FOP. (I'm a retired teacher, so while Antenna House is great, it is beyond my budget).
Regards,
Mark


--------------------------------------------------
From: "Ben Mendis" <ben@xxxxxxxxxxxxxxxx>
Sent: Wednesday, August 19, 2009 12:07 PM
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re:  Creating multiple PDF files from a single XSL-FO script

Hi Mark,

If you're using Antenna House Formatter there is an extension for
multi-volume output which might be helpful. You would need to segment
your data into multiple flows (each flow would become a separate PDF file).


Regards,
Ben

Mark Wilson wrote:
I have an index that I produce with XSL-FO in PDF format that has
grown to hundreds of pages. The file is updated quite often. Users of
my website are complaining that the file is too large and clumsy to
use. I would like to break it into separate files, one for each letter
of the alphabet. That way, users could download and use only the
letter of interest.

I could break my XML file into separate files first, then run my
current XSL-FO file on each of those segments to accomplish what I
want, but this seems like brute force.

While I know how to break an XML file into separate files, I cannot
seem to get my head around how to do that with XSL-FO. I do not see
how to take the things that are done once (setting up odd and even
pages, etc) and ask the file to do that multiple times. Can someone
make this a bit clearer for me?

Right now the XSL-FO is set up like this:

<fo:root>
... fo pdf creation stuff: layout, page-sequence, etc
<fo:root/>

<template>
.... my xml document processing stuff (many templates)
<template/>

How do I invoke fo:root more than once? Or have I got it all wrong?
Thanks,
Mark




--


Ben Mendis
Support Specialist
Antenna House
10410 Kensington Pkwy
Suite 207
Kensington, Maryland 20895
USA
Phone: +1 301-942-4007
Email: ben@xxxxxxxxxxxxxxxx
Web: www.antennahouse.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.