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

RE: creating multiple pdf-files from one xml

Subject: RE: creating multiple pdf-files from one xml
From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx>
Date: Fri, 13 Feb 2004 18:51:39 +0100
creating multiple pdf files
> -----Original Message-----
> From: Kloeck, Erwin
>
> I fear I didn't understand the question correctly, how do I read the
> files back in?
>
> I call the xslt processor from within a java program and write
> the resulting fo files to a specific directory. Then I loop
> through the directory and send every file to the fo processor. So
> there is no 'piping', just writing a file and reading a file.
> Piping is what I would like to do, but I have no idea how?
>
> Hence my question.
>

Yeah, I was just wondering how you worked around the absence of a
piping-mechanism...

Thing I noticed was that it's possible to have a scenario:
1 XML + 1 XSL --> n FOs (--> PDFs)

I don't really know for sure about other processors, but FOP doesn't provide
for a mechanism to collect the redirected FOs and would, when offered the
source XML and the stylesheet as input, only render the base FO, not the
redirected ones (--hence your workaround, I presume?)

One solution would be to 'catch' the redirected streams directly from the
XSL processor, buffer them, and have the FO processor starts up a parallel
rendering run for them, so the correlated 'files' (better: result-trees)
wouldn't even need to get written, but are serialized along with the main
XSL transformation result...

I'm afraid 'though, that I have no exact idea on how to go about that for
the moment.


Cheers,

Andreas


 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.