Name
p:xinclude — The standard p:xinclude step.
Synopsis
<p:declare-step
type
="
p:xinclude
"
>
<p:input
port
="
source
"
/>
<p:output
port
="
result
"
/>
<p:option
name
="
fixup-xml-base
"
select
="
'false'
"
/>
<!--
boolean -->
<p:option
name
="
fixup-xml-lang
"
select
="
'false'
"
/>
<!--
boolean -->
<p:option
name
="
cx:trim
"
select
="
'false'
"
/>
<!--
boolean -->
</p:declare-step>
Description
Performs XInclude processing on the source document. XML Calabash supports XInclude 1.1.
The p:xinclude
step supports two extension attributes:
cx:trim
: boolean-
If the
cx:trim
extension attribute has the value “true
”, leading and trailing whitespace will be removed from any documents included withparse="text"
. cx:read-limit
: integer-
In the course of evaluating a fragment identifier, the XInclude processor may need to parse a document more than once. The
read-limit
specifies how much data (how many bytes) may be buffered to support this reparsing. The default is 100Mb.
As of XML Calabash version 1.1.12, the “search” fragment identifier is also supported.