Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow text insertions #554

Merged
merged 1 commit into from
Jun 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>