XQuery Function Documentation

Search and Browse

http://exist-db.org/xquery/xslfo

java:org.exist.xquery.modules.xslfo.XSLFOModule

A module for performing XSL-FO transformations

xslfo:render

xslfo:render($document as node(), $mime-type as xs:string, $parameters as node()?) as xs:base64Binary?

Renders a given FO document. Returns an xs:base64binary of the result. Parameters are specified with the structure: <parameters><param name="param-name1" value="param-value1"/></parameters>. Recognised rendering parameters are: author, title, keywords and dpi.

Parameters:
$document FO document
$mime-type $mime-type
$parameters? parameters for the transform
Returns:
xs:base64Binary? : result

xslfo:render

xslfo:render($document as node(), $mime-type as xs:string, $parameters as node()?, $config-file as node()?) as xs:base64Binary?

Renders a given FO document. Returns an xs:base64binary of the result. Parameters are specified with the structure: <parameters><param name="param-name1" value="param-value1"/></parameters>. Recognised rendering parameters are: author, title, keywords and dpi.

Parameters:
$document FO document
$mime-type $mime-type
$parameters? parameters for the transform
$config-file? FOP Processor Configuration file
Returns:
xs:base64Binary? : result