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 portPrimarySequenceContent types
source✔ ✔ text xml 
Output portPrimarySequenceContent types
result✔ ✔ any 
Option nameTypeRequired
codexs: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
CodeDescription

Description

The p:error step is defined in the XProc 3.0: Standard Step Library. It is also described on XProcRef.org.