Skip to content
Snippets Groups Projects
Commit 56446925 authored by David Maus's avatar David Maus
Browse files

d:uuid-event ausfaktorisiert

parent 0f360ac4
No related branches found
No related tags found
No related merge requests found
......@@ -7,18 +7,7 @@
<p:option name="objectId" required="true"/>
<p:option name="targetUri" required="true"/>
<p:declare-step type="d:uuid-event">
<p:input port="source"/>
<p:output port="result"/>
<p:option name="event" required="true"/>
<p:add-attribute attribute-value="" match="uuid">
<p:with-option name="attribute-name" select="$event"/>
</p:add-attribute>
<p:uuid version="4">
<p:with-option name="match" select="concat('@', $event)"/>
</p:uuid>
</p:declare-step>
<p:import href="uuid.xpl"/>
<p:declare-step type="d:uuid-source">
<p:output port="result"/>
......
<p:library version="1.0"
xmlns:p="http://www.w3.org/ns/xproc"
xmlns:d="http://dmaus.name/ns/xproc">
<p:declare-step type="d:uuid-event">
<p:input port="source"/>
<p:output port="result"/>
<p:option name="event" required="true"/>
<p:add-attribute attribute-value="" match="uuid">
<p:with-option name="attribute-name" select="$event"/>
</p:add-attribute>
<p:uuid version="4">
<p:with-option name="match" select="concat('@', $event)"/>
</p:uuid>
</p:declare-step>
</p:library>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment