Previous Up Next


p:xsl-formatter — Performs XSL FO processing.


<p:declare-step type="p:xsl-formatter">
     <p:input port="source"/>
     <p:input port="parameters" kind="parameter"/>
     <p:output port="result" primary="false"/>
     <p:option name="href" required="true"/>                       <!-- anyURI -->
     <p:option name="content-type"/>                               <!-- string -->


The p:xsl-formatter step receives an [XSL 1.1] document and renders the content. The result of rendering is stored to the URI provided via the href option. A reference to that result is produced on the output port.

By default, the p:xsl-formatter step produces PDF. The content-type of the output can be controlled by the content-type option. This option specifies a media type as defined by [IANA Media Types]. The option may include media type parameters as well (e.g. "application/someformat; charset=UTF-8"). The use of media type parameters on the content-type option is implementation-defined.

A formatter may take any number of optional rendering parameters via the step's parameters; such parameters are defined by the XSL implementation used and are implementation-defined.

The output of this step is a document containing a single c:result element whose content is the absolute URI of the document stored by the step.


FIXME: tbd.