is there such a thing as xsl:fo reporting or xsl:fo simulation?

Posted by topmulch on Stack Overflow See other posts from Stack Overflow or by topmulch
Published on 2010-06-11T18:47:06Z Indexed on 2010/06/12 7:22 UTC
Read the original article Hit count: 256

Filed under:
|
|

Hi, I am trying to determine if MY xsl:fo generated PDF file will exceed one page or not, without actually generating the output. We use Apache-FOP 0.95 on our server, and the XML data is being generated using a PHP DOMDocument class before being passed onto an XSL-FO template.

My question:

Are there PHP libraries out there that can simulate xsl:fo output and send me reports that I can use in my application?

Alternatively, is there a way for the Apache FOP itself (or sibling Java app) that sends reports without actually generating a file? I have been reading the FOP documentation, and aside from some things I can not fully understand, I have not been able to find a way to do that from within FOP.

Any advice is much appreciated.

© Stack Overflow or respective owner

Related posts about php5

Related posts about xsl-fo