|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: creating multiple pdf-files from one xml
> -----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
|
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
|

Cart








