Name
p:xinclude — The standard p:xinclude step.
Synopsis
The p:xinclude step applies XInclude processing to the source document.
| Input port | Primary | Sequence | Content types |
|---|---|---|---|
| source | ✔ | xml html |
| Output port | Primary | Sequence | Content types |
|---|---|---|---|
| result | ✔ | xml html |
| Option name | Type | Default value |
|---|---|---|
| fixup-xml-base | xs:boolean | false() |
| fixup-xml-lang | xs:boolean | false() |
Declaration
1 |<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" type="p:xinclude">
| <p:input port="source" content-types="xml html"/>
| <p:output port="result" content-types="xml html"/>
| <p:option name="fixup-xml-base" as="xs:boolean" select="false()"/>
5 | <p:option name="fixup-xml-lang" as="xs:boolean" select="false()"/>
|</p:declare-step>Errors
| Code | Description |
|---|---|
err:XC0029 | It is a dynamic error (err:XC0029)
if an XInclude error occurs during processing. |
Description
The p:xinclude step is a
standard XProc 3.0 step.
It is also described on XProcRef.org.
Additional examples
The XProc test suite contains examples of the p:xinclude step.