p:error — The standard p:error step.
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">
| <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>
Errors