[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Using Saxon 2.0 with FOP, XEP, Antenna House
On Fri, October 18, 2013 8:59 pm, Michael Kay wrote: > On 18 Oct 2013, at 10:34, Jesper Tverskov wrote: ... >> Also I have tested the loading of a directory and output to directory >> feature at the command line in Saxon. It works well, but I don't >> think, I can get a FO-processor to take over such an output directory >> as input to the FO transformation from within the bat file. >> > Other possibilities are to organize the processing using XProc, xmlsh, or > ant; or to write custom control logic in Java; or to write it in XSLT, > with a stylesheet that uses the collection() function to process many > input files. Or you could turn things inside out and run the formatter as an extension function inside the XSLT transformation and call it once for each of the many files, hopefully without too much of a start-up cost each time. We have an extension function [1] for running an FO processor within the XSLT transformation for making decisions based on formatted sizes before running the formatter 'for real' on the final result of the transformation, and it wouldn't be very different to write the PDF output to a file rather than returning an area tree. Regards, Tony Graham tgraham@xxxxxxxxxx Consultant http://www.mentea.net Mentea 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- XML, XSL-FO and XSLT consulting, training and programming Chair, Print and Page Layout Community Group @ W3C [1] http://www.w3.org/community/ppl/wiki/FOPRunXSLTExt
|
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
|