basex xsl:fo (Apache FOP) module?
Hi, is there an integration of Apache FOP available? Regards, Max
Hi Max, France Baril (from Architextus) was so kind to sponsor the BaseX FOP module, and the main reason why we didn't put it online is that we haven't decided yet how to best organize and document our external modules. Additionally, each new release results in feature requests, bug reports, etc, which take additional time. But I have just downloaded the FOP module to our file server [1] (please note that the location may change). This examples shows how to use it: import module namespace fop = 'org.basex.modules.fop.FOP'; let $xsl := xslt:transform('fop.xml', 'fop.xsl') let $pdf := fop:transform($xsl) return file:write-binary('fop.pdf', $pdf) The following functions are available: fop:transform($node as node()) as xs:base64Binary fop:transform($node as node(), $format as xs:string) as xs:base64Binary The default format (mime-type) is "application/pdf". Best, Christian [1] http://files.basex.org/modules/org/basex/modules/fop/ ____________________________________ On Fri, Feb 21, 2014 at 2:15 PM, Maximilian Gärber <mgaerber@arcor.de> wrote:
Hi,
is there an integration of Apache FOP available?
Regards,
Max
_______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
participants (2)
-
Christian Grün -
Maximilian Gärber