Skip to content

Commit

Permalink
Merge pull request #554 from ndw/vnext-029
Browse files Browse the repository at this point in the history
Allow text insertions
  • Loading branch information
ndw authored Jun 6, 2024
2 parents 4f09fbb + 902d933 commit 9820764
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion steps/src/main/xml/steps/insert.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ port's document relative to the matching elements in the

<p:declare-step type="p:insert">
<p:input port="source" primary="true" content-types="xml html"/>
<p:input port="insertion" sequence="true" content-types="xml html"/>
<p:input port="insertion" sequence="true" content-types="xml html text"/>
<p:output port="result" content-types="xml html"/>
<p:option name="match" as="xs:string" select="'/*'" e:type="XSLTSelectionPattern"/>
<p:option name="position" values="('first-child','last-child','before','after')" select="'after'"/>
Expand Down Expand Up @@ -66,4 +66,10 @@ as the source.</para>
<port>source</port> port are preserved. The document properties on the
<port>insertion</port> port are not preserved or present in the result document.</para>
</simplesect>

<simplesect>
<title>Erratum, April 2024</title>
<para>The content type of the <port>insertion</port> port has been expanded to allow
text documents to be inserted.</para>
</simplesect>
</section>

0 comments on commit 9820764

Please sign in to comment.