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. URL's in the FO can be resolved from: http, https, file and exist URI schemes. If you wish to access a resource in the local database then the URI 'exist://localhost/db' refers to the root collection.

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. URL's in the FO can be resolved from: http, https, file and exist URI schemes. If you wish to access a resource in the local database then the URI 'exist://localhost/db' refers to the root collection.

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