p:text-join — The standard p:text-join step.
The p:text-join step concatenates text documents.
| Input port | Primary | Sequence | Content types |
|---|
| source | ✔ | ✔ | text |
| Output port | Primary | Sequence | Content types |
|---|
| result | ✔ | | text |
| Option name | Type | Default value |
|---|
| override-content-type | xs:string? | () |
| prefix | xs:string? | () |
| separator | xs:string? | () |
| suffix | xs:string? | () |
Declaration
1 |<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" type="p:text-join">
| <p:input port="source" sequence="true" content-types="text"/>
| <p:output port="result" content-types="text"/>
| <p:option name="separator" as="xs:string?"/>
5 | <p:option name="prefix" as="xs:string?"/>
| <p:option name="suffix" as="xs:string?"/>
| <p:option name="override-content-type" as="xs:string?"/>
|</p:declare-step>
Errors
| Code | Description |
|---|
err:XC0001 | It is a
dynamic error (err:XC0001) if the value of option override-content-type
is not a text media type. |
err:XD0079 | It is a dynamic
error (err:XD0079) if a supplied content-type is not a valid media type of the form
“type/subtype+ext”
or “type/subtype”. |
The p:text-join step is a
standard XProc 3.0 step.
It is also described on XProcRef.org.