Hello, is it possible to perform XSL-T (2.0) transformation within FOP (1.0), *where input file is in IntermediateFormat*? I tried it, but without success (something like unable to mix input mode). It is not question how to configure FOP together with Saxon. I can do that successfully when input file is in XML format:
fop -xml in.xml -xsl transA.xsl -if someMime out.if I need to perform some XSL-T (it has to be 2.0 - with Saxon9HE) on above created IF output (calculate relative and absolute page count within one IF file). Currently I do this separately using Saxon for XSL-T transformation of old IF to new IF and then using FOP for transformation of new IF to final PDF. But because file is quite large (90 MB) and there are IO costs and parsing costs, I guess, that it would be more effective to do something like fop -if out.if -xsl transB.xsl -pdf out.pdf Because IF is XML, it should be possible, am I right? Question is, how effective it could be, when Saxon, I guess, uses different internal representation of XML (TinyTree) than FOP does (I do not have any hints about internals of FOP). Thank You for Your answer. Stepan P.S. I think, that it could be nice to add to the documentation step-by-step or example how to use Saxon for XSL-T 2.0 transformation within FOP. It took me lot of time before I found according to the "http://www.mail-archive.com/[email protected]/msg10258.html", that Saxon (saxon9he.jar) has to be set (added) in "fop.bat" in "LOCALCLASSPATH" before (commented) Xalan (xalan-2.7.0.jar). --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
