Skip to content
Permalink
Browse files

Merge pull request #136 from xml-project/fix-135

Attempt to fix 135
  • Loading branch information...
xml-project committed Jun 16, 2019
2 parents ac89b16 + be5edba commit 8945247f767d0d8266f7c75083e5f93b5ba87eff
Showing with 5 additions and 2 deletions.
  1. +5 −2 steps/src/main/xml/steps/uuid.xml
@@ -11,7 +11,7 @@ the <port>source</port> document.</para>

<p:declare-step type="p:uuid">
<p:input port="source" primary="true" content-types="xml html"/>
<p:output port="result" content-types="xml html"/>
<p:output port="result" content-types="text xml html"/>
<p:option name="match" as="xs:string" select="'/*'" e:type="XSLTSelectionPattern"/>
<p:option name="version" as="xs:integer?"/>
</p:declare-step>
@@ -51,6 +51,9 @@ its contents) is replaced by the UUID.</para>

<simplesect>
<title>Document properties</title>
<para feature="uuid-preserves-all">All document properties are preserved.</para>
<para feature="uuid-preserves-partially">If the resulting document contains exactly one text node,
the <literal>content-type</literal> property is changed to <literal>text/plain</literal> and the
<literal>serialization</literal> property is removed, while all other document properties are
preserved. For other document types, all document properties are preserved.</para>
</simplesect>
</section>

0 comments on commit 8945247

Please sign in to comment.
You can’t perform that action at this time.