p:wrap-sequence — The standard p:wrap-sequence step.
The p:wrap-sequence
step accepts a sequence of
documents and produces either a single document or a new sequence of
documents.
Input port | Primary | Sequence | Content types |
---|
source | ✔ | ✔ | text xml html |
Output port | Primary | Sequence | Content types |
---|
result | ✔ | ✔ | application/xml |
Option name | Type | Default value | Required |
---|
wrapper | xs:QName | | ✔ |
group-adjacent | XPathExpression | () | |
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