Name

p:wrap-sequence — The standard p:wrap-sequence step.

Synopsis

The p:wrap-sequence step accepts a sequence of documents and produces either a single document or a new sequence of documents.

Input portPrimarySequenceContent types
source✔ ✔ text xml html 
Output portPrimarySequenceContent types
result✔ ✔ application/xml 
Option nameTypeDefault valueRequired
wrapperxs:QName ✔ 
group-adjacentXPathExpression() 
Declaration
1 |<p:declare-step xmlns:p="http://www.w3.org/ns/xproc">
  |   <p:input port="source" content-types="text xml html" sequence="true"/>
  |   <p:output port="result" sequence="true" content-types="application/xml"/>
  |   <p:option name="wrapper" required="true" as="xs:QName"/>
5 |   <p:option xmlns:e="http://www.w3.org/1999/XSL/Spec/ElementSyntax"
  |             name="group-adjacent"
  |             as="xs:string?"
  |             e:type="XPathExpression"/>
  |</p:declare-step>
Errors
CodeDescription

Description

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