A RESTful browser for eXist Java-Based Function Modules


http://exist-db.org/xquery/transform
A module for dealing with XSL transformations.

transform:stream-transform($node-tree as node()?, $stylesheet as item(), $parameters as node()?) empty()
Applies an XSL stylesheet to the node tree passed as first argument. The parameters are the same as for the transform function. stream-transform can only be used within a servlet context. Instead of returning the transformed document fragment, it directly streams its output to the servlet's output stream. It should thus be the last statement in the XQuery.
$node-treeThe source-document (node tree)
$stylesheetThe XSL stylesheet
$parametersThe transformer parameters

transform:stream-transform($node-tree as node()?, $stylesheet as item(), $parameters as node()?, $serialization-options as xs:string) empty()
Applies an XSL stylesheet to the node tree passed as first argument. The parameters are the same as for the transform function. stream-transform can only be used within a servlet context. Instead of returning the transformed document fragment, it directly streams its output to the servlet's output stream. It should thus be the last statement in the XQuery.
$node-treeThe source-document (node tree)
$stylesheetThe XSL stylesheet
$parametersThe transformer parameters
$serialization-optionsThe serialization options
Return to list of all modules