Name
p:xslt — The standard p:xslt step.
Synopsis
<p:declare-step
type
="
p:xslt
"
>
<p:input
port
="
source
"
sequence
="
true
"
primary
="
true
"
/>
<p:input
port
="
stylesheet
"
/>
<p:input
port
="
parameters
"
kind
="
parameter
"
/>
<p:output
port
="
result
"
primary
="
true
"
/>
<p:output
port
="
secondary
"
sequence
="
true
"
/>
<p:option
name
="
initial-mode
"
/>
<!--
QName -->
<p:option
name
="
template-name
"
/>
<!--
QName -->
<p:option
name
="
output-base-uri
"
/>
<!--
anyURI -->
<p:option
name
="
version
"
/>
<!--
string -->
</p:declare-step>
Description
TBD.
Extensions
By default, XML Calabash processes all XSLT stylesheets using an XSLT 2.0 processor. If the stylesheet version is “1.0”, it is processed by a 2.0 processor in “backwards compatible mode”.
If the “use XSLT 1.0” extension is enabled, XML Calabash will attempt to instantiate an XSLT 1.0 processor and use that instead.
When a 1.0 processor is used, several limitations apply:
-
There can be at most one input document.
-
The
initial-mode
,template-name
, andoutput-base-uri
options are ignored. -
There's no standard mechanism to capture secondary result documents created with, for example,
exsl:document
. Any such documents are likely to be written directly to the filesystem. They will not appear on the secondary result port, which will always be empty.