Name
p:error — The standard p:error step.
Synopsis
The p:error step generates a
dynamic error using the input provided to the
step.
| Input port | Primary | Sequence | Content types |
|---|---|---|---|
| source | ✔ | ✔ | text xml |
| Output port | Primary | Sequence | Content types |
|---|---|---|---|
| result | ✔ | ✔ | any |
| Option name | Type | Required |
|---|---|---|
| code | xs:QName | ✔ |
Declaration
1 |<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" type="p:error">
| <p:input port="source" sequence="true" content-types="text xml"/>
| <p:output port="result" sequence="true" content-types="any"/>
| <p:option name="code" required="true" as="xs:QName"/>
5 |</p:declare-step>Description
The p:error step is a
standard XProc 3.0 step.
It is also described on XProcRef.org.