Name

p:text-join — The standard p:text-join step.

Synopsis

The p:text-join step concatenates text documents.

Input portPrimarySequenceContent types
source✔ ✔ text 
Output portPrimarySequenceContent types
result✔  text 
Option nameTypeDefault value
override-content-typexs:string?()
prefixxs:string?()
separatorxs:string?()
suffixxs:string?()
Declaration
1 |<p:declare-step xmlns:p="http://www.w3.org/ns/xproc">
  |   <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
CodeDescription
err:XC0001It is a dynamic error (err:XC0001) if the value of option override-content-type is not a text media type.
err:XD0079It 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”.

Description

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