p:pack — The standard p:pack step.
The p:pack
step merges two document sequences in a pair-wise
fashion.
Input port | Primary | Sequence | Content types |
---|
source | ✔ | ✔ | text xml html |
alternate | | ✔ | text xml html |
Output port | Primary | Sequence | Content types |
---|
result | ✔ | ✔ | application/xml |
Option name | Type | Required |
---|
wrapper | xs:QName | ✔ |
Declaration
1 |<p:declare-step xmlns:p="http://www.w3.org/ns/xproc">
| <p:input port="source"
| content-types="text xml html"
| sequence="true"
5 | primary="true"/>
| <p:input port="alternate" sequence="true" content-types="text xml html"/>
| <p:output port="result" sequence="true" content-types="application/xml"/>
| <p:option name="wrapper" required="true" as="xs:QName"/>
|</p:declare-step>
Errors