cpee 2.0.30 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cockpit/js/instance.js +3 -3
- data/cockpit/js/wfadaptor.js +2 -0
- data/cockpit/templates.legacy/Async.xml +12 -12
- data/cockpit/templates.legacy/BCO.xml +9 -11
- data/cockpit/templates.legacy/BCS.xml +9 -11
- data/cockpit/templates.legacy/Centurio.xml +7 -7
- data/cockpit/templates.legacy/Concurrent.xml +7 -7
- data/cockpit/templates.legacy/Coopis Testset.xml +7 -7
- data/cockpit/templates.legacy/Endpoints and Data Manipulation.xml +6 -7
- data/cockpit/templates.legacy/ICSOC Testset.xml +7 -7
- data/cockpit/templates.legacy/Infinity.xml +7 -7
- data/cockpit/templates.legacy/Lego Boxer.xml +13 -13
- data/cockpit/templates.legacy/Lego Conveyor.xml +13 -13
- data/cockpit/templates.legacy/Lego Crane.xml +16 -16
- data/cockpit/templates.legacy/Lego Ejector.xml +16 -16
- data/cockpit/templates.legacy/Lego Full.xml +12 -12
- data/cockpit/templates.legacy/Lego Liddy.xml +13 -13
- data/cockpit/templates.legacy/Lego Plate.xml +13 -13
- data/cockpit/templates.legacy/Lego Transporter.xml +14 -14
- data/cockpit/templates.legacy/Lego_Part_1.xml +12 -12
- data/cockpit/templates.legacy/LgLinear.xml +7 -10
- data/cockpit/templates.legacy/Linear.xml +11 -14
- data/cockpit/templates.legacy/Log.xml +11 -12
- data/cockpit/templates.legacy/Mangler 1.xml +7 -7
- data/cockpit/templates.legacy/Mangler 2.xml +7 -7
- data/cockpit/templates.legacy/Manuel Labels.xml +11 -11
- data/cockpit/templates.legacy/Promise.xml +30 -30
- data/cockpit/templates.legacy/SOPROMO Test Sonification.xml +7 -7
- data/cockpit/templates.legacy/Subprocess.xml +15 -15
- data/cockpit/templates.legacy/Syncing P34 1.xml +8 -11
- data/cockpit/templates.legacy/Syncing P34 2.xml +8 -11
- data/cockpit/templates.legacy/Syncing P34 3.xml +8 -11
- data/cockpit/templates.legacy/Syncing P34.xml +8 -11
- data/cockpit/templates.legacy/TEST - Bad Loop.xml +7 -7
- data/cockpit/templates.legacy/TEST - Wrong Positions.xml +7 -7
- data/cockpit/templates.legacy/Take_5.xml +14 -14
- data/cockpit/templates.legacy/Update.xml +11 -11
- data/cockpit/templates.legacy/Worklist Parallel.xml +17 -17
- data/cockpit/templates.legacy/Worklist Test CPEE.xml +14 -14
- data/cockpit/templates.legacy/Worklist Test.xml +14 -14
- data/cockpit/templates.legacy/Worklist Test2.xml +14 -14
- data/cockpit/templates/Coopis 2010.xml +8 -8
- data/cockpit/templates/IUPC arXiv:1104.3609 P34 1.xml +8 -11
- data/cockpit/templates/IUPC arXiv:1104.3609 P34 2.xml +8 -11
- data/cockpit/templates/IUPC arXiv:1104.3609 P34 3.xml +8 -11
- data/cockpit/templates/Track Test Local.xml +2 -2
- data/cockpit/templates/Track Test.xml +1 -1
- data/cockpit/templates/UR-VUE 2020 Manual Adjust.xml +1 -1
- data/cockpit/templates/UR-VUE 2020 Solution Baseline.xml +1 -1
- data/cockpit/templates/UR-VUE 2020 Solution NN.xml +1 -1
- data/cockpit/templates/UR-VUE 2020 Solution View.xml +1 -1
- data/cockpit/templates/UR-VUE 2020.xml +1 -1
- data/cockpit/templates/Worklist.xml +14 -14
- data/cockpit/templates/instantiate.local/Take_Sub.xml +2 -2
- data/cockpit/templates/instantiate/Take_Perf.xml +1 -1
- data/cockpit/templates/instantiate/Take_Sub.xml +2 -2
- data/cockpit/templates/instantiate/Take_X.xml +2 -2
- data/cockpit/themes/compact/rngs/start.rng +83 -0
- data/cockpit/themes/compact/symbols/start.svg +1 -1
- data/cockpit/themes/control/rngs/start.rng +83 -0
- data/cockpit/themes/control/symbols/start.svg +1 -1
- data/cockpit/themes/default/rngs/start.rng +83 -0
- data/cockpit/themes/default/symbols/start.svg +1 -1
- data/cockpit/themes/default/theme.js +1 -1
- data/cockpit/themes/extended/rngs/start.rng +83 -0
- data/cockpit/themes/extended/symbols/start.svg +1 -1
- data/cockpit/themes/model/symbols/start.svg +1 -1
- data/cockpit/themes/packed/rngs/start.rng +83 -0
- data/cockpit/themes/packed/symbols/start.svg +1 -1
- data/cockpit/themes/preset/rngs/start.rng +83 -0
- data/cockpit/themes/preset/symbols/start.svg +1 -1
- data/cockpit/themes/preset/theme.js +1 -1
- data/cpee.gemspec +2 -2
- data/lib/cpee/attributes_helper.rb +14 -0
- data/lib/cpee/implementation.rb +10 -8
- data/lib/cpee/implementation_callbacks.rb +14 -0
- data/lib/cpee/implementation_notifications.rb +14 -0
- data/lib/cpee/implementation_properties.rb +128 -24
- data/lib/cpee/persistence.rb +0 -27
- data/lib/cpee/statemachine.rb +14 -0
- data/lib/cpee/value_helper.rb +14 -0
- data/lib/properties.xml +4 -4
- data/lib/properties/{handlerwrapper.rng → executionhandler.rng} +2 -2
- data/lib/properties/properties.rng +2 -2
- data/lib/properties/set-properties.rng +2 -2
- data/lib/properties/set-some-properties.rng +2 -2
- data/server/{resources → executionhandlers/ruby}/backend/README.md +0 -0
- data/server/{resources → executionhandlers/ruby}/backend/instance.template +2 -4
- data/server/{resources → executionhandlers/ruby}/backend/opts.yaml +2 -2
- data/server/executionhandlers/ruby/backend/run +37 -0
- data/server/{handlerwrappers/default.rb → executionhandlers/ruby/connection.rb} +3 -3
- data/server/executionhandlers/ruby/controller.rb +195 -0
- data/server/{resources/transformation_dslx.xsl → executionhandlers/ruby/dsl_to_dslx.xsl} +53 -8
- data/server/executionhandlers/ruby/execution.rb +81 -0
- data/server/resources/properties.empty +1 -1
- data/server/resources/properties.init +1 -1
- data/server/resources/topics.xml +2 -2
- data/server/routing/persist.rb +3 -3
- data/tools/cpee +9 -3
- data/tools/server/cpee +1 -1
- data/tools/server/resources/properties.init +1 -1
- metadata +19 -237
- data/cockpit/templates.legacy/convert_cpee2.rb +0 -15
- data/lib/cpee/controller.rb +0 -199
- data/lib/cpee/transform.rb +0 -95
- data/server/resources/backend/instance.rb +0 -23
- data/server/resources/backend/run +0 -33
- data/server/routing/end.pid +0 -1
- data/server/routing/forward-events.pid +0 -1
- data/server/routing/forward-votes.pid +0 -1
- data/server/routing/persist.pid +0 -1
- data/server/server.pid +0 -1
- data/tools/test/README +0 -4
- data/tools/test/config.json +0 -3
- data/tools/test/contrib/graph_example.svg +0 -1166
- data/tools/test/contrib/legend.svg +0 -817
- data/tools/test/contrib/symbols.svg +0 -224
- data/tools/test/contrib/transformation1.xsl +0 -264
- data/tools/test/contrib/transformation2.xsl +0 -10
- data/tools/test/contrib/tree_example.svg +0 -788
- data/tools/test/css/model.css +0 -24
- data/tools/test/css/track.css +0 -60
- data/tools/test/css/ui.css +0 -214
- data/tools/test/css/wfadaptor.css +0 -422
- data/tools/test/edit.html +0 -258
- data/tools/test/graph.html +0 -69
- data/tools/test/index.html +0 -258
- data/tools/test/js/details.js +0 -109
- data/tools/test/js/instance.js +0 -1344
- data/tools/test/js/model.js +0 -41
- data/tools/test/js/parameters.js +0 -82
- data/tools/test/js/track.js +0 -18
- data/tools/test/js/ui.js +0 -104
- data/tools/test/js/wfadaptor.js +0 -763
- data/tools/test/js_libs.zip +0 -0
- data/tools/test/js_libs/Makefile +0 -2
- data/tools/test/js_libs/ansi_up.js +0 -333
- data/tools/test/js_libs/console.js +0 -80
- data/tools/test/js_libs/custommenu.css +0 -84
- data/tools/test/js_libs/custommenu.js +0 -104
- data/tools/test/js_libs/experiments1/relaxngui.css +0 -185
- data/tools/test/js_libs/experiments1/relaxngui.js +0 -488
- data/tools/test/js_libs/experiments1/rngtest9.html +0 -60
- data/tools/test/js_libs/experiments1/rngtest9.rng +0 -35
- data/tools/test/js_libs/experiments1/rngtest9.xml +0 -8
- data/tools/test/js_libs/jquery-2.2.4.min.js +0 -4
- data/tools/test/js_libs/jquery-3.2.1.min.js +0 -4
- data/tools/test/js_libs/jquery-3.3.1.min.js +0 -2
- data/tools/test/js_libs/jquery.browser.js +0 -40
- data/tools/test/js_libs/jquery.caret.min.js +0 -10
- data/tools/test/js_libs/jquery.cookie.js +0 -117
- data/tools/test/js_libs/jquery.min.js +0 -1
- data/tools/test/js_libs/jquery.svg.min.js +0 -6
- data/tools/test/js_libs/jquery.svgdom.min.js +0 -6
- data/tools/test/js_libs/markdown.min.js +0 -1
- data/tools/test/js_libs/parsequery.js +0 -21
- data/tools/test/js_libs/printf.js +0 -368
- data/tools/test/js_libs/relaxngui.css +0 -213
- data/tools/test/js_libs/relaxngui.js +0 -543
- data/tools/test/js_libs/strftime.min.js +0 -1
- data/tools/test/js_libs/tests/dataelements.html +0 -59
- data/tools/test/js_libs/tests/dataelements.rng +0 -8
- data/tools/test/js_libs/tests/dataelements.xml +0 -3
- data/tools/test/js_libs/tests/relaxngui.css +0 -203
- data/tools/test/js_libs/tests/relaxngui.js +0 -502
- data/tools/test/js_libs/tests/rngtest1.html +0 -66
- data/tools/test/js_libs/tests/rngtest1.rng +0 -147
- data/tools/test/js_libs/tests/rngtest1.xml +0 -13
- data/tools/test/js_libs/tests/rngtest2.html +0 -60
- data/tools/test/js_libs/tests/rngtest2.rng +0 -6
- data/tools/test/js_libs/tests/rngtest2.xml +0 -3
- data/tools/test/js_libs/tests/rngtest3.html +0 -60
- data/tools/test/js_libs/tests/rngtest3.rng +0 -23
- data/tools/test/js_libs/tests/rngtest3.xml +0 -9
- data/tools/test/js_libs/tests/rngtest4.html +0 -60
- data/tools/test/js_libs/tests/rngtest4.rng +0 -19
- data/tools/test/js_libs/tests/rngtest4.xml +0 -12
- data/tools/test/js_libs/tests/rngtest5.html +0 -60
- data/tools/test/js_libs/tests/rngtest5.rng +0 -75
- data/tools/test/js_libs/tests/rngtest5.xml +0 -40
- data/tools/test/js_libs/tests/rngtest6.html +0 -60
- data/tools/test/js_libs/tests/rngtest6.rng +0 -24
- data/tools/test/js_libs/tests/rngtest6.xml +0 -6
- data/tools/test/js_libs/tests/rngtest8.html +0 -60
- data/tools/test/js_libs/tests/rngtest8.rng +0 -13
- data/tools/test/js_libs/tests/rngtest8.xml +0 -2
- data/tools/test/js_libs/tests/rngtest9.html +0 -60
- data/tools/test/js_libs/tests/rngtest9.rng +0 -31
- data/tools/test/js_libs/tests/rngtest9.xml +0 -8
- data/tools/test/js_libs/ui.css +0 -333
- data/tools/test/js_libs/ui.html +0 -168
- data/tools/test/js_libs/ui.js +0 -177
- data/tools/test/js_libs/underscore.min.js +0 -27
- data/tools/test/js_libs/util.js +0 -81
- data/tools/test/js_libs/vkbeautify.0.99.00.beta.js +0 -358
- data/tools/test/js_libs/vkbeautify.js +0 -1
- data/tools/test/js_libs/webcomponents.min.js +0 -196
- data/tools/test/model.html +0 -192
- data/tools/test/rngs/attributes.rng +0 -8
- data/tools/test/rngs/dataelements.rng +0 -8
- data/tools/test/rngs/endpoints.rng +0 -8
- data/tools/test/templates.legacy/Async.xml +0 -46
- data/tools/test/templates.legacy/BCO.xml +0 -70
- data/tools/test/templates.legacy/BCS.xml +0 -70
- data/tools/test/templates.legacy/Centurio.xml +0 -75
- data/tools/test/templates.legacy/Concurrent.xml +0 -40
- data/tools/test/templates.legacy/Coopis Testset.xml +0 -76
- data/tools/test/templates.legacy/Endpoints and Data Manipulation.xml +0 -30
- data/tools/test/templates.legacy/ICSOC Testset.xml +0 -95
- data/tools/test/templates.legacy/Infinity.xml +0 -28
- data/tools/test/templates.legacy/Lego Boxer.xml +0 -31
- data/tools/test/templates.legacy/Lego Conveyor.xml +0 -31
- data/tools/test/templates.legacy/Lego Crane.xml +0 -87
- data/tools/test/templates.legacy/Lego Ejector.xml +0 -55
- data/tools/test/templates.legacy/Lego Full.xml +0 -142
- data/tools/test/templates.legacy/Lego Liddy.xml +0 -40
- data/tools/test/templates.legacy/Lego Plate.xml +0 -31
- data/tools/test/templates.legacy/Lego Transporter.xml +0 -43
- data/tools/test/templates.legacy/Lego_Part_1.xml +0 -85
- data/tools/test/templates.legacy/LgLinear.xml +0 -65
- data/tools/test/templates.legacy/Linear.xml +0 -77
- data/tools/test/templates.legacy/Log.xml +0 -117
- data/tools/test/templates.legacy/Mangler 1.xml +0 -87
- data/tools/test/templates.legacy/Mangler 2.xml +0 -103
- data/tools/test/templates.legacy/Manuel Labels.xml +0 -55
- data/tools/test/templates.legacy/Promise.xml +0 -275
- data/tools/test/templates.legacy/SOPROMO Test Sonification.xml +0 -83
- data/tools/test/templates.legacy/Subprocess.xml +0 -56
- data/tools/test/templates.legacy/Syncing P34 1.xml +0 -77
- data/tools/test/templates.legacy/Syncing P34 2.xml +0 -77
- data/tools/test/templates.legacy/Syncing P34 3.xml +0 -77
- data/tools/test/templates.legacy/Syncing P34.xml +0 -77
- data/tools/test/templates.legacy/TEST - Bad Loop.xml +0 -173
- data/tools/test/templates.legacy/TEST - Wrong Positions.xml +0 -174
- data/tools/test/templates.legacy/Take_5.xml +0 -48
- data/tools/test/templates.legacy/Update.xml +0 -32
- data/tools/test/templates.legacy/Worklist Parallel.xml +0 -104
- data/tools/test/templates.legacy/Worklist Test CPEE.xml +0 -40
- data/tools/test/templates.legacy/Worklist Test.xml +0 -42
- data/tools/test/templates.legacy/Worklist Test2.xml +0 -43
- data/tools/test/templates.legacy/convert_cpee2.rb +0 -15
- data/tools/test/templates.legacy/convert_preset.rb +0 -32
- data/tools/test/templates.legacy/testsets.xml +0 -37
- data/tools/test/templates.legacy/transformations.xml +0 -4
- data/tools/test/templates/Coopis 2010.xml +0 -76
- data/tools/test/templates/IUPC arXiv:1104.3609 P34 1.xml +0 -77
- data/tools/test/templates/IUPC arXiv:1104.3609 P34 2.xml +0 -77
- data/tools/test/templates/IUPC arXiv:1104.3609 P34 3.xml +0 -77
- data/tools/test/templates/Track Test Local.xml +0 -82
- data/tools/test/templates/Track Test.xml +0 -82
- data/tools/test/templates/UR-VUE 2020 Manual Adjust.xml +0 -182
- data/tools/test/templates/UR-VUE 2020 Solution Baseline.xml +0 -203
- data/tools/test/templates/UR-VUE 2020 Solution NN.xml +0 -197
- data/tools/test/templates/UR-VUE 2020 Solution View.xml +0 -151
- data/tools/test/templates/UR-VUE 2020.xml +0 -26
- data/tools/test/templates/Worklist.xml +0 -42
- data/tools/test/templates/instantiate.local/Take_Sub.xml +0 -59
- data/tools/test/templates/instantiate/Take_Perf.xml +0 -46
- data/tools/test/templates/instantiate/Take_Sub.xml +0 -58
- data/tools/test/templates/instantiate/Take_X.xml +0 -48
- data/tools/test/themes/compact/theme.js +0 -1285
- data/tools/test/themes/diana/theme.js +0 -1650
- data/tools/test/themes/extended/theme.js +0 -1325
- data/tools/test/themes/model/rngs/alternative.rng +0 -1
- data/tools/test/themes/model/rngs/call.rng +0 -67
- data/tools/test/themes/model/rngs/callmanipulate.rng +0 -72
- data/tools/test/themes/model/rngs/choose.rng +0 -1
- data/tools/test/themes/model/rngs/critical.rng +0 -1
- data/tools/test/themes/model/rngs/escape.rng +0 -1
- data/tools/test/themes/model/rngs/group.rng +0 -1
- data/tools/test/themes/model/rngs/loop.rng +0 -1
- data/tools/test/themes/model/rngs/manipulate.rng +0 -1
- data/tools/test/themes/model/rngs/otherwise.rng +0 -1
- data/tools/test/themes/model/rngs/parallel.rng +0 -1
- data/tools/test/themes/model/rngs/parallel_branch.rng +0 -1
- data/tools/test/themes/model/rngs/scripts.rng +0 -7
- data/tools/test/themes/model/rngs/stop.rng +0 -1
- data/tools/test/themes/model/rngs/terminate.rng +0 -1
- data/tools/test/themes/model/theme.js +0 -1268
- data/tools/test/themes/packed/theme.js +0 -1286
- data/tools/test/themes/preset/rngs/alternative.rng +0 -25
- data/tools/test/themes/preset/rngs/call.rng +0 -122
- data/tools/test/themes/preset/rngs/callmanipulate.rng +0 -145
- data/tools/test/themes/preset/rngs/choose.rng +0 -14
- data/tools/test/themes/preset/rngs/closed_loop.rng +0 -62
- data/tools/test/themes/preset/rngs/closed_loop_cancel.rng +0 -5
- data/tools/test/themes/preset/rngs/closed_loop_control.rng +0 -31
- data/tools/test/themes/preset/rngs/closed_loop_measuring.rng +0 -12
- data/tools/test/themes/preset/rngs/critical.rng +0 -5
- data/tools/test/themes/preset/rngs/escape.rng +0 -1
- data/tools/test/themes/preset/rngs/group.rng +0 -3
- data/tools/test/themes/preset/rngs/loop.rng +0 -22
- data/tools/test/themes/preset/rngs/manipulate.rng +0 -9
- data/tools/test/themes/preset/rngs/otherwise.rng +0 -22
- data/tools/test/themes/preset/rngs/parallel.rng +0 -21
- data/tools/test/themes/preset/rngs/parallel_branch.rng +0 -8
- data/tools/test/themes/preset/rngs/scripts.rng +0 -23
- data/tools/test/themes/preset/rngs/stop.rng +0 -5
- data/tools/test/themes/preset/rngs/terminate.rng +0 -1
- data/tools/test/themes/preset/symbols/alternative.svg +0 -5
- data/tools/test/themes/preset/symbols/arrow.svg +0 -3
- data/tools/test/themes/preset/symbols/call.svg +0 -6
- data/tools/test/themes/preset/symbols/callmanipulate.svg +0 -8
- data/tools/test/themes/preset/symbols/choose.svg +0 -5
- data/tools/test/themes/preset/symbols/choose_exclusive.svg +0 -5
- data/tools/test/themes/preset/symbols/choose_inclusive.svg +0 -4
- data/tools/test/themes/preset/symbols/closed_loop.svg +0 -5
- data/tools/test/themes/preset/symbols/closed_loop_cancel.svg +0 -5
- data/tools/test/themes/preset/symbols/closed_loop_control.svg +0 -5
- data/tools/test/themes/preset/symbols/closed_loop_measuring.svg +0 -6
- data/tools/test/themes/preset/symbols/complex.svg +0 -8
- data/tools/test/themes/preset/symbols/critical.svg +0 -4
- data/tools/test/themes/preset/symbols/end.svg +0 -3
- data/tools/test/themes/preset/symbols/escape.svg +0 -5
- data/tools/test/themes/preset/symbols/event_end.svg +0 -3
- data/tools/test/themes/preset/symbols/loop.svg +0 -5
- data/tools/test/themes/preset/symbols/manipulate.svg +0 -4
- data/tools/test/themes/preset/symbols/otherwise.svg +0 -5
- data/tools/test/themes/preset/symbols/parallel.svg +0 -5
- data/tools/test/themes/preset/symbols/parallel_branch.svg +0 -5
- data/tools/test/themes/preset/symbols/parallel_branch_compact.svg +0 -4
- data/tools/test/themes/preset/symbols/parallel_branch_event.svg +0 -14
- data/tools/test/themes/preset/symbols/parallel_branch_normal.svg +0 -5
- data/tools/test/themes/preset/symbols/scripts.svg +0 -4
- data/tools/test/themes/preset/symbols/start.svg +0 -3
- data/tools/test/themes/preset/symbols/stop.svg +0 -5
- data/tools/test/themes/preset/symbols/terminate.svg +0 -4
- data/tools/test/themes/preset/theme.js +0 -1287
- data/tools/test/track.html +0 -142
@@ -1,224 +0,0 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink">
|
2
|
-
<defs>
|
3
|
-
<!--{{{--><style type="text/css"><![CDATA[
|
4
|
-
svg rect.injected {
|
5
|
-
fill: Highlight;
|
6
|
-
fill-opacity: 0.2;
|
7
|
-
}
|
8
|
-
|
9
|
-
svg path.ourline {
|
10
|
-
stroke-opacity: 0.9;
|
11
|
-
stroke:#000000;
|
12
|
-
stroke-width: 2;
|
13
|
-
fill: none;
|
14
|
-
}
|
15
|
-
svg rect.block {
|
16
|
-
stroke-width: 1;
|
17
|
-
stroke-dasharray: 3,5;
|
18
|
-
stroke: #000000;
|
19
|
-
fill: none;
|
20
|
-
}
|
21
|
-
svg circle.stand, svg rect.stand {
|
22
|
-
stroke:#000000;
|
23
|
-
stroke-width:2.06896567;
|
24
|
-
stroke-linecap:round;
|
25
|
-
stroke-linejoin:round;
|
26
|
-
stroke-miterlimit:4;
|
27
|
-
stroke-opacity:1;
|
28
|
-
stroke-dasharray:none;
|
29
|
-
}
|
30
|
-
svg text.normal {
|
31
|
-
font-size:20px;
|
32
|
-
font-style:normal;
|
33
|
-
font-variant:normal;
|
34
|
-
font-weight:bold;
|
35
|
-
font-stretch:normal;
|
36
|
-
text-align:center;
|
37
|
-
line-height:125%;
|
38
|
-
writing-mode:lr-tb;
|
39
|
-
text-anchor:middle;
|
40
|
-
color:#000000;
|
41
|
-
fill:#000000;
|
42
|
-
fill-opacity:1;
|
43
|
-
stroke:none;
|
44
|
-
font-family:Arial;
|
45
|
-
}
|
46
|
-
|
47
|
-
svg text.super {
|
48
|
-
font-size:11px;
|
49
|
-
font-style:normal;
|
50
|
-
font-variant:normal;
|
51
|
-
font-weight:bold;
|
52
|
-
font-stretch:normal;
|
53
|
-
text-align:center;
|
54
|
-
line-height:100%;
|
55
|
-
writing-mode:lr-tb;
|
56
|
-
text-anchor:left;
|
57
|
-
color:#000000;
|
58
|
-
fill:#000000;
|
59
|
-
fill-opacity:1;
|
60
|
-
stroke:none;
|
61
|
-
font-family:Arial;
|
62
|
-
}
|
63
|
-
svg tspan.active {
|
64
|
-
fill:#ff0000;
|
65
|
-
display: none;
|
66
|
-
}
|
67
|
-
svg tspan.vote {
|
68
|
-
fill:#73d216;
|
69
|
-
display: none;
|
70
|
-
}
|
71
|
-
svg tspan.colon {
|
72
|
-
display: none;
|
73
|
-
}
|
74
|
-
svg tspan.necessary {
|
75
|
-
display: inline;
|
76
|
-
}
|
77
|
-
|
78
|
-
svg text.normallarge {
|
79
|
-
font-size:25px;
|
80
|
-
font-style:normal;
|
81
|
-
font-variant:normal;
|
82
|
-
font-weight:bold;
|
83
|
-
font-stretch:normal;
|
84
|
-
text-align:center;
|
85
|
-
line-height:125%;
|
86
|
-
writing-mode:lr-tb;
|
87
|
-
text-anchor:middle;
|
88
|
-
color:#000000;
|
89
|
-
fill:#000000;
|
90
|
-
fill-opacity:1;
|
91
|
-
stroke:none;
|
92
|
-
font-family:Arial;
|
93
|
-
}
|
94
|
-
svg text.small {
|
95
|
-
font-size:14px;
|
96
|
-
font-style:normal;
|
97
|
-
font-variant:normal;
|
98
|
-
font-weight:bold;
|
99
|
-
font-stretch:normal;
|
100
|
-
text-align:center;
|
101
|
-
line-height:125%;
|
102
|
-
writing-mode:lr-tb;
|
103
|
-
text-anchor:middle;
|
104
|
-
color:#000000;
|
105
|
-
fill:#000000;
|
106
|
-
fill-opacity:1;
|
107
|
-
stroke:none;
|
108
|
-
font-family:Arial;
|
109
|
-
}
|
110
|
-
|
111
|
-
#arrow {
|
112
|
-
stroke: #000000;
|
113
|
-
stroke-width: 2;
|
114
|
-
fill: #000000;
|
115
|
-
}
|
116
|
-
]]></style><!--}}}-->
|
117
|
-
<symbol id="activity" class="clickable"><!-- {{{ -->
|
118
|
-
<rect x="1" y="1" width="28" height="28" class="stand"/>
|
119
|
-
</symbol><!-- }}} -->
|
120
|
-
<symbol id="activitymanipulate" class="clickable"><!-- {{{ -->
|
121
|
-
<rect x="1" y="1" width="28" height="28" class="stand"/>
|
122
|
-
<circle cx="28" cy="28" r="9" class="stand"/>
|
123
|
-
<text class="small" transform="translate(28, 32)">m</text>
|
124
|
-
</symbol><!-- }}} -->
|
125
|
-
<symbol id="call" class="clickable"><!-- {{{ -->
|
126
|
-
<circle cx="15" cy="15" r="14" class="stand"/>
|
127
|
-
<text class="normal" transform="translate(15, 21)">c</text>
|
128
|
-
</symbol><!-- }}} -->
|
129
|
-
<symbol id="manipulate" class="clickable"><!-- {{{ -->
|
130
|
-
<circle cx="15" cy="15" r="14" class="stand"/>
|
131
|
-
<text class="normal" transform="translate(15, 21)">m</text>
|
132
|
-
</symbol><!-- }}} -->
|
133
|
-
<symbol id="callmanipulate" class="clickable"><!-- {{{ -->
|
134
|
-
<circle cx="15" cy="15" r="14" class="stand"/>
|
135
|
-
<text class="normal" transform="translate(15, 21)">c</text>
|
136
|
-
<circle cx="28" cy="28" r="9" class="stand"/>
|
137
|
-
<text class="small" transform="translate(28, 32)">m</text>
|
138
|
-
</symbol><!-- }}} -->
|
139
|
-
<symbol id="choose" class="clickable"><!-- {{{ -->
|
140
|
-
<circle cx="15" cy="15" r="14" class="stand"/>
|
141
|
-
<text class="normal" transform="translate(15, 21)">σ</text>
|
142
|
-
</symbol><!-- }}} -->
|
143
|
-
<symbol id="alternative" class="clickable"><!-- {{{ -->
|
144
|
-
<circle cx="15" cy="15" r="14" class="standwithout"/>
|
145
|
-
<text class="normal" transform="translate(15, 20)">{..}</text>
|
146
|
-
</symbol><!-- }}} -->
|
147
|
-
<symbol id="otherwise" class="clickable"><!-- {{{ -->
|
148
|
-
<circle cx="15" cy="15" r="14" class="standwithout"/>
|
149
|
-
<text class="normal" transform="translate(15, 20)">{⁎}</text>
|
150
|
-
</symbol><!-- }}} -->
|
151
|
-
<symbol id="parallel" class="clickable"><!-- {{{ -->
|
152
|
-
<circle cx="15" cy="15" r="14" class="stand"/>
|
153
|
-
<text class="normal" transform="translate(15, 21)">||</text>
|
154
|
-
</symbol><!-- }}} -->
|
155
|
-
<symbol id="parallel_branch" class="clickable"><!-- {{{ -->
|
156
|
-
<circle cx="15" cy="15" r="14" class="stand"/>
|
157
|
-
<text class="normal" transform="translate(15, 21)">|</text>
|
158
|
-
</symbol><!-- }}} -->
|
159
|
-
<symbol id="critical" class="clickable"><!-- {{{ -->
|
160
|
-
<circle cx="15" cy="15" r="14" class="stand"/>
|
161
|
-
<text class="normal" transform="translate(15, 21)">⚠</text>
|
162
|
-
</symbol><!-- }}} -->
|
163
|
-
<symbol id="loop" class="clickable"><!-- {{{ -->
|
164
|
-
<circle cx="15" cy="15" r="14" class="stand"/>
|
165
|
-
<text class="normallarge" transform="translate(15, 24)">↺</text>
|
166
|
-
</symbol><!-- }}} -->
|
167
|
-
<symbol id="end"><!-- {{{ -->
|
168
|
-
<circle cx="15" cy="15" r="14" class="stand"/>
|
169
|
-
<circle cx="15" cy="15" r="11" class="stand"/>
|
170
|
-
<text class="normal" transform="translate(15, 21)">Ω</text>
|
171
|
-
</symbol><!-- }}} -->
|
172
|
-
<marker id="arrow" viewBox="0 0 10 10" refX="24" refY="5" orient="auto" markerUnits="strokeWidth" markerWidth="4.5" markerHeight="4.5">
|
173
|
-
<path d="m 2 2 l 6 3 l -6 3 z"/>
|
174
|
-
</marker>
|
175
|
-
</defs>
|
176
|
-
|
177
|
-
<g id="canvas">
|
178
|
-
<g transform="translate(0, 0)">
|
179
|
-
<text class="super" transform="translate(28.4, 8.4)"><tspan class="active necessary">0</tspan><tspan class="colon necessary">,</tspan><tspan class="vote necessary">0</tspan></text>
|
180
|
-
<use xlink:href="#call" style="fill: rgb(255, 255, 255); fill-opacity: 1;">
|
181
|
-
<title>a1</title>
|
182
|
-
</use>
|
183
|
-
</g>
|
184
|
-
<g transform="translate(45, 0)">
|
185
|
-
<text class="super" transform="translate(28.4, 8.4)"><tspan class="active necessary">0</tspan><tspan class="colon necessary">,</tspan><tspan class="vote necessary">0</tspan></text>
|
186
|
-
<use xlink:href="#manipulate" style="fill: rgb(255, 255, 255); fill-opacity: 1;">
|
187
|
-
<title>a2</title>
|
188
|
-
</use>
|
189
|
-
</g>
|
190
|
-
<g transform="translate(90, 0)">
|
191
|
-
<text class="super" transform="translate(28.4, 8.4)"><tspan class="active necessary">0</tspan><tspan class="colon necessary">,</tspan><tspan class="vote necessary">0</tspan></text>
|
192
|
-
<use xlink:href="#callmanipulate" style="fill: rgb(255, 255, 255); fill-opacity: 1;">
|
193
|
-
<title>a3</title>
|
194
|
-
</use>
|
195
|
-
</g>
|
196
|
-
|
197
|
-
<g transform="translate(0, 40)">
|
198
|
-
<text class="super" transform="translate(31.4, 8.4)"><tspan class="active necessary">0</tspan><tspan class="colon necessary">,</tspan><tspan class="vote necessary">0</tspan></text>
|
199
|
-
<use xlink:href="#activity" style="fill: rgb(255, 255, 255); fill-opacity: 1;">
|
200
|
-
<title>a</title>
|
201
|
-
</use>
|
202
|
-
<text class="normal" transform="translate(15, 21)">a</text>
|
203
|
-
</g>
|
204
|
-
<g transform="translate(50, 40)">
|
205
|
-
<text class="super" transform="translate(31.4, 8.4)"><tspan class="active necessary">0</tspan><tspan class="colon necessary">,</tspan><tspan class="vote necessary">0</tspan></text>
|
206
|
-
<use xlink:href="#activitymanipulate" style="fill: rgb(255, 255, 255); fill-opacity: 1;">
|
207
|
-
<title>b</title>
|
208
|
-
</use>
|
209
|
-
<text class="normal" transform="translate(15, 21)">b</text>
|
210
|
-
</g>
|
211
|
-
|
212
|
-
|
213
|
-
<use xlink:href="#choose" transform="translate(0,80)" style="fill: rgb(255, 255, 255); fill-opacity: 1;"/>
|
214
|
-
<use xlink:href="#alternative" transform="translate(40,80)" style="fill: rgb(255, 255, 255); fill-opacity: 1;"/>
|
215
|
-
<use xlink:href="#otherwise" transform="translate(80,80)" style="fill: rgb(255, 255, 255); fill-opacity: 1;"/>
|
216
|
-
<use xlink:href="#parallel" transform="translate(0,120)" style="fill: rgb(255, 255, 255); fill-opacity: 1;"/>
|
217
|
-
<use xlink:href="#parallel_branch" transform="translate(40,120)" style="fill: rgb(255, 255, 255); fill-opacity: 1;"/>
|
218
|
-
<use xlink:href="#critical" transform="translate(0,160)" style="fill: rgb(255, 255, 255); fill-opacity: 1;"/>
|
219
|
-
<use xlink:href="#loop" transform="translate(0,200)" style="fill: rgb(255, 255, 255); fill-opacity: 1;"/>
|
220
|
-
<use xlink:href="#end" transform="translate(0,240)" style="fill: rgb(255, 255, 255); fill-opacity: 1;"/>
|
221
|
-
|
222
|
-
<line x1="5" y1="280" x2="100" y2="320" stroke="black" stroke-width="3" marker-end="url(#arrow)"/>
|
223
|
-
</g>
|
224
|
-
</svg>
|
@@ -1,264 +0,0 @@
|
|
1
|
-
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:d="http://cpee.org/ns/description/1.0">
|
2
|
-
<xsl:output method="text"/>
|
3
|
-
<xsl:strip-space elements="*"/>
|
4
|
-
<xsl:variable name="myspacemultiplier">2</xsl:variable>
|
5
|
-
|
6
|
-
<xsl:template match="/">
|
7
|
-
<xsl:apply-templates select="//d:description"/>
|
8
|
-
</xsl:template>
|
9
|
-
|
10
|
-
<xsl:template match="//d:description">
|
11
|
-
<xsl:apply-templates>
|
12
|
-
<xsl:with-param name="myspace"><xsl:value-of select="-1*$myspacemultiplier"/></xsl:with-param>
|
13
|
-
</xsl:apply-templates>
|
14
|
-
</xsl:template>
|
15
|
-
|
16
|
-
<xsl:template match="*">
|
17
|
-
<xsl:param name="myspace"/>
|
18
|
-
<xsl:call-template name="print-space">
|
19
|
-
<xsl:with-param name="i">1</xsl:with-param>
|
20
|
-
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
21
|
-
</xsl:call-template>
|
22
|
-
<xsl:if test="name()='call' or name()='manipulate'">
|
23
|
-
<xsl:choose>
|
24
|
-
<xsl:when test="@lay">
|
25
|
-
<xsl:text>activity [:</xsl:text>
|
26
|
-
<xsl:value-of select="@id"/>
|
27
|
-
<xsl:text>,</xsl:text>
|
28
|
-
<xsl:value-of select="@lay"/>
|
29
|
-
<xsl:text>]</xsl:text>
|
30
|
-
</xsl:when>
|
31
|
-
<xsl:otherwise>
|
32
|
-
<xsl:text>activity :</xsl:text>
|
33
|
-
<xsl:value-of select="@id"/>
|
34
|
-
</xsl:otherwise>
|
35
|
-
</xsl:choose>
|
36
|
-
</xsl:if>
|
37
|
-
<xsl:if test="name()='call'">
|
38
|
-
<xsl:text>, :call, :</xsl:text>
|
39
|
-
<xsl:value-of select="@endpoint"/>
|
40
|
-
<xsl:apply-templates select="d:parameters"/>
|
41
|
-
<xsl:apply-templates select="d:manipulate" mode="part-of-call">
|
42
|
-
<xsl:with-param name="myspace"><xsl:value-of select="$myspace"/></xsl:with-param>
|
43
|
-
</xsl:apply-templates>
|
44
|
-
<xsl:call-template name="print-newline"/>
|
45
|
-
</xsl:if>
|
46
|
-
<xsl:if test="name()='manipulate'">
|
47
|
-
<xsl:text>, :manipulate</xsl:text>
|
48
|
-
<xsl:call-template name="print-content">
|
49
|
-
<xsl:with-param name="myspace"><xsl:value-of select="$myspace"/></xsl:with-param>
|
50
|
-
</xsl:call-template>
|
51
|
-
<xsl:call-template name="print-newline"/>
|
52
|
-
</xsl:if>
|
53
|
-
<xsl:if test="name()='parallel'">
|
54
|
-
<xsl:text>parallel</xsl:text>
|
55
|
-
<xsl:if test="@wait">
|
56
|
-
<xsl:text> :wait => </xsl:text>
|
57
|
-
<xsl:value-of select="@wait"/>
|
58
|
-
</xsl:if>
|
59
|
-
<xsl:text> do</xsl:text>
|
60
|
-
<xsl:call-template name="print-newline"/>
|
61
|
-
<xsl:apply-templates>
|
62
|
-
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
63
|
-
</xsl:apply-templates>
|
64
|
-
<xsl:call-template name="print-space">
|
65
|
-
<xsl:with-param name="i">1</xsl:with-param>
|
66
|
-
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
67
|
-
</xsl:call-template>
|
68
|
-
<xsl:text>end</xsl:text>
|
69
|
-
<xsl:call-template name="print-newline"/>
|
70
|
-
</xsl:if>
|
71
|
-
<xsl:if test="name()='loop'">
|
72
|
-
<xsl:text>loop </xsl:text>
|
73
|
-
<xsl:if test="@pre_test">
|
74
|
-
<xsl:text>pre_test{</xsl:text>
|
75
|
-
<xsl:value-of select="@pre_test"/>
|
76
|
-
<xsl:text>} </xsl:text>
|
77
|
-
</xsl:if>
|
78
|
-
<xsl:if test="@post_test">
|
79
|
-
<xsl:text>post_test{</xsl:text>
|
80
|
-
<xsl:value-of select="@post_test"/>
|
81
|
-
<xsl:text>} </xsl:text>
|
82
|
-
</xsl:if>
|
83
|
-
<xsl:text>do</xsl:text>
|
84
|
-
<xsl:call-template name="print-newline"/>
|
85
|
-
<xsl:apply-templates>
|
86
|
-
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
87
|
-
</xsl:apply-templates>
|
88
|
-
<xsl:call-template name="print-space">
|
89
|
-
<xsl:with-param name="i">1</xsl:with-param>
|
90
|
-
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
91
|
-
</xsl:call-template>
|
92
|
-
<xsl:text>end</xsl:text>
|
93
|
-
<xsl:call-template name="print-newline"/>
|
94
|
-
</xsl:if>
|
95
|
-
<xsl:if test="name()='choose'">
|
96
|
-
<xsl:text>choose do</xsl:text>
|
97
|
-
<xsl:call-template name="print-newline"/>
|
98
|
-
<xsl:apply-templates>
|
99
|
-
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
100
|
-
</xsl:apply-templates>
|
101
|
-
<xsl:call-template name="print-space">
|
102
|
-
<xsl:with-param name="i">1</xsl:with-param>
|
103
|
-
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
104
|
-
</xsl:call-template>
|
105
|
-
<xsl:text>end</xsl:text>
|
106
|
-
<xsl:call-template name="print-newline"/>
|
107
|
-
</xsl:if>
|
108
|
-
</xsl:template>
|
109
|
-
|
110
|
-
<xsl:template match="d:alternative">
|
111
|
-
<xsl:param name="myspace"/>
|
112
|
-
<xsl:call-template name="print-space">
|
113
|
-
<xsl:with-param name="i">1</xsl:with-param>
|
114
|
-
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
115
|
-
</xsl:call-template>
|
116
|
-
<xsl:text>alternative </xsl:text>
|
117
|
-
<xsl:value-of select="@condition"/>
|
118
|
-
<xsl:text> do</xsl:text>
|
119
|
-
<xsl:call-template name="print-newline"/>
|
120
|
-
<xsl:apply-templates>
|
121
|
-
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
122
|
-
</xsl:apply-templates>
|
123
|
-
<xsl:call-template name="print-space">
|
124
|
-
<xsl:with-param name="i">1</xsl:with-param>
|
125
|
-
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
126
|
-
</xsl:call-template>
|
127
|
-
<xsl:text>end</xsl:text>
|
128
|
-
<xsl:call-template name="print-newline"/>
|
129
|
-
</xsl:template>
|
130
|
-
|
131
|
-
<xsl:template match="d:otherwise">
|
132
|
-
<xsl:param name="myspace"/>
|
133
|
-
<xsl:call-template name="print-space">
|
134
|
-
<xsl:with-param name="i">1</xsl:with-param>
|
135
|
-
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
136
|
-
</xsl:call-template>
|
137
|
-
<xsl:text>otherwise do</xsl:text>
|
138
|
-
<xsl:call-template name="print-newline"/>
|
139
|
-
<xsl:apply-templates>
|
140
|
-
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
141
|
-
</xsl:apply-templates>
|
142
|
-
<xsl:call-template name="print-space">
|
143
|
-
<xsl:with-param name="i">1</xsl:with-param>
|
144
|
-
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
145
|
-
</xsl:call-template>
|
146
|
-
<xsl:text>end</xsl:text>
|
147
|
-
<xsl:call-template name="print-newline"/>
|
148
|
-
</xsl:template>
|
149
|
-
|
150
|
-
<xsl:template match="d:parallel_branch">
|
151
|
-
<xsl:param name="myspace"/>
|
152
|
-
<xsl:call-template name="print-space">
|
153
|
-
<xsl:with-param name="i">1</xsl:with-param>
|
154
|
-
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
155
|
-
</xsl:call-template>
|
156
|
-
<xsl:text>parallel_branch</xsl:text>
|
157
|
-
<xsl:if test="@pass">
|
158
|
-
<xsl:text> </xsl:text>
|
159
|
-
<xsl:value-of select="@pass"/>
|
160
|
-
</xsl:if>
|
161
|
-
<xsl:text> do</xsl:text>
|
162
|
-
<xsl:if test="@local">
|
163
|
-
<xsl:text> |</xsl:text>
|
164
|
-
<xsl:value-of select="@local"/>
|
165
|
-
<xsl:text>|</xsl:text>
|
166
|
-
</xsl:if>
|
167
|
-
<xsl:call-template name="print-newline"/>
|
168
|
-
<xsl:apply-templates>
|
169
|
-
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
170
|
-
</xsl:apply-templates>
|
171
|
-
<xsl:call-template name="print-space">
|
172
|
-
<xsl:with-param name="i">1</xsl:with-param>
|
173
|
-
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
174
|
-
</xsl:call-template>
|
175
|
-
<xsl:text>end</xsl:text>
|
176
|
-
<xsl:call-template name="print-newline"/>
|
177
|
-
</xsl:template>
|
178
|
-
|
179
|
-
<xsl:template match="d:parameters">
|
180
|
-
<xsl:apply-templates select="d:*" mode="parameter"/>
|
181
|
-
</xsl:template>
|
182
|
-
|
183
|
-
<xsl:template match="d:*" mode="parameter">
|
184
|
-
<xsl:text>, :</xsl:text>
|
185
|
-
<xsl:value-of select="name()"/>
|
186
|
-
<xsl:text> => </xsl:text>
|
187
|
-
<xsl:choose>
|
188
|
-
<xsl:when test="count(*) > 0">
|
189
|
-
<xsl:text>[</xsl:text>
|
190
|
-
<xsl:apply-templates select="d:*" mode="sub-parameter"/>
|
191
|
-
<xsl:text>]</xsl:text>
|
192
|
-
</xsl:when>
|
193
|
-
<xsl:otherwise>
|
194
|
-
<xsl:text>"</xsl:text>
|
195
|
-
<xsl:value-of select="text()"/>
|
196
|
-
<xsl:text>"</xsl:text>
|
197
|
-
</xsl:otherwise>
|
198
|
-
</xsl:choose>
|
199
|
-
</xsl:template>
|
200
|
-
|
201
|
-
<xsl:template match="d:*" mode="sub-parameter">
|
202
|
-
<xsl:text> { :</xsl:text>
|
203
|
-
<xsl:value-of select="name()"/>
|
204
|
-
<xsl:text> => </xsl:text>
|
205
|
-
<xsl:value-of select="text()"/>
|
206
|
-
<xsl:text> }</xsl:text>
|
207
|
-
<xsl:choose>
|
208
|
-
<xsl:when test=". = ../*[last()]">
|
209
|
-
<xsl:text> </xsl:text>
|
210
|
-
</xsl:when>
|
211
|
-
<xsl:otherwise>
|
212
|
-
<xsl:text>,</xsl:text>
|
213
|
-
</xsl:otherwise>
|
214
|
-
</xsl:choose>
|
215
|
-
</xsl:template>
|
216
|
-
|
217
|
-
<xsl:template match="d:manipulate" mode="part-of-call">
|
218
|
-
<xsl:param name="myspace"/>
|
219
|
-
<xsl:call-template name="print-content">
|
220
|
-
<xsl:with-param name="myspace"><xsl:value-of select="$myspace"/></xsl:with-param>
|
221
|
-
</xsl:call-template>
|
222
|
-
</xsl:template>
|
223
|
-
|
224
|
-
<xsl:template name="print-content">
|
225
|
-
<xsl:param name="myspace"/>
|
226
|
-
<xsl:if test="text()">
|
227
|
-
<xsl:text> do </xsl:text>
|
228
|
-
<xsl:if test="@output">
|
229
|
-
<xsl:text>|</xsl:text>
|
230
|
-
<xsl:value-of select="@output"/>
|
231
|
-
<xsl:text>|</xsl:text>
|
232
|
-
</xsl:if>
|
233
|
-
<xsl:call-template name="print-newline"/>
|
234
|
-
<xsl:value-of select="text()"/>
|
235
|
-
<xsl:call-template name="print-newline"/>
|
236
|
-
<xsl:call-template name="print-space">
|
237
|
-
<xsl:with-param name="i">1</xsl:with-param>
|
238
|
-
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
239
|
-
</xsl:call-template>
|
240
|
-
<xsl:text>end</xsl:text>
|
241
|
-
</xsl:if>
|
242
|
-
</xsl:template>
|
243
|
-
|
244
|
-
<xsl:template name="print-space">
|
245
|
-
<xsl:param name="i"/>
|
246
|
-
<xsl:param name="count"/>
|
247
|
-
<xsl:if test="$i <= $count">
|
248
|
-
<xsl:text> </xsl:text>
|
249
|
-
<xsl:call-template name="print-space">
|
250
|
-
<xsl:with-param name="i">
|
251
|
-
<xsl:value-of select="$i + 1"/>
|
252
|
-
</xsl:with-param>
|
253
|
-
<xsl:with-param name="count">
|
254
|
-
<xsl:value-of select="$count"/>
|
255
|
-
</xsl:with-param>
|
256
|
-
</xsl:call-template>
|
257
|
-
</xsl:if>
|
258
|
-
</xsl:template>
|
259
|
-
<xsl:template name="print-newline">
|
260
|
-
<xsl:text>
|
261
|
-
</xsl:text>
|
262
|
-
</xsl:template>
|
263
|
-
|
264
|
-
</xsl:stylesheet>
|