Name

p:pack — The standard p:pack step.

Synopsis

The p:pack step merges two document sequences in a pair-wise fashion.

Input portPrimarySequenceContent types
source✔ ✔ text xml html 
alternate ✔ text xml html 
Output portPrimarySequenceContent types
result✔ ✔ application/xml 
Option nameTypeRequired
wrapperxs: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
CodeDescription

Description

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