-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathiop.xpl
More file actions
71 lines (61 loc) · 2.7 KB
/
iop.xpl
File metadata and controls
71 lines (61 loc) · 2.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<p:library version="1.0" xmlns:p="http://www.w3.org/ns/xproc"
xmlns:iop="http://transpect.io/iop"
xmlns:mox="http://www.xml-project.com/morgana"
xmlns:mocc="http://www.xml-project.com/nasp/calabash-compatibility"
xmlns:mod="http://www.xml-project.com/nasp/debug"
xmlns:cx="http://xmlcalabash.com/ns/extensions">
<p:import href="http://xmlcalabash.com/extension/steps/library-1.0.xpl" use-when="p:system-property('p:product-name') = 'XML Calabash'" />
<p:import href="com.xml_project.morganaxproc.debugsteps.DebugSteps"
mox:content-type="application/java-archive"
use-when="p:system-property('p:product-name') = 'MorganaXProc' " />
<p:import href="com.xml_project.morganaxproc.calabash_compatibility.CalabashCompatibilityLibrary"
mox:content-type="application/java-archive"
use-when="p:system-property('p:product-name') = 'MorganaXProc' " />
<p:declare-step type="iop:message">
<p:input port="source" primary="true" sequence="true" />
<p:output port="result" primary="true" sequence="true" />
<p:option name="message" required="true"/>
<cx:message p:use-when="p:system-property('p:product-name') = 'XML Calabash'">
<p:with-option name="message" select="$message" />
</cx:message>
<mod:report p:use-when="p:system-property('p:product-name') = 'MorganaXProc'">
<p:with-option name="message" select="$message" />
</mod:report>
</p:declare-step>
<p:declare-step type="iop:eval" name="eval">
<p:input port="pipeline"/>
<p:input port="source" sequence="true"/>
<p:input port="options"/>
<p:output port="result"/>
<p:option name="step"/>
<p:option name="detailed"/>
<cx:eval p:use-when="p:system-property('p:product-name') = 'XML Calabash'">
<p:input port="pipeline">
<p:pipe step="eval" port="pipeline" />
</p:input>
<p:input port="source">
<p:pipe step="eval" port="source" />
</p:input>
<p:input port="options">
<p:pipe step="eval" port="options" />
</p:input>
<!--
<p:with-option name="step" select="$step" />
-->
<p:with-option name="detailed" select="$detailed" />
</cx:eval>
<mocc:eval p:use-when="p:system-property('p:product-name') = 'MorganaXProc'">
<p:input port="pipeline">
<p:pipe step="eval" port="pipeline" />
</p:input>
<p:input port="source">
<p:pipe step="eval" port="source" />
</p:input>
<p:input port="options">
<p:pipe step="eval" port="options" />
</p:input>
<p:with-option name="step" select="$step" />
<p:with-option name="detailed" select="$detailed" />
</mocc:eval>
</p:declare-step>
</p:library>