forked from usnistgov/OSCAL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
resolve-oscal-profile-debug.xpl
93 lines (73 loc) · 2.94 KB
/
resolve-oscal-profile-debug.xpl
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<?xml version="1.0" encoding="UTF-8"?>
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc"
xmlns:c="http://www.w3.org/ns/xproc-step" version="1.0"
xmlns:oscal="http://csrc.nist.gov/ns/oscal/1.0"
type="oscal:resolve-profile" name="oscal-resolve-profile">
<!-- &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& -->
<!-- Ports -->
<p:input port="source" primary="true"/>
<p:input port="parameters" kind="parameter"/>
<p:serialization port="a.echo-input" indent="true"/>
<p:output port="a.echo-input" primary="false">
<p:pipe port="result" step="input"/>
</p:output>
<p:serialization port="b.select" indent="true"/>
<p:output port="b.select" primary="false">
<p:pipe port="result" step="select"/>
</p:output>
<p:serialization port="c.metadata" indent="true"/>
<p:output port="c.metadata" primary="false">
<p:pipe port="result" step="metadata"/>
</p:output>
<p:serialization port="d.merge" indent="true"/>
<p:output port="d.merge" primary="false">
<p:pipe port="result" step="merge"/>
</p:output>
<p:serialization port="e.modify" indent="true"/>
<p:output port="e.modify" primary="false">
<p:pipe port="result" step="modify"/>
</p:output>
<p:serialization port="f.finish" indent="true"/>
<p:output port="f.finish" primary="false">
<p:pipe port="result" step="finish"/>
</p:output>
<!--
<opr:transform version="2.0">oscal-profile-resolve-select.xsl</opr:transform>
<opr:transform version="2.0">oscal-profile-resolve-metadata.xsl</opr:transform>
<opr:transform version="2.0">oscal-profile-resolve-merge.xsl</opr:transform>
<opr:transform version="2.0">oscal-profile-resolve-modify.xsl</opr:transform>
<opr:transform version="2.0">oscal-profile-resolve-finish.xsl</opr:transform>-->
<p:serialization port="z.final" indent="true" method="xml" omit-xml-declaration="false"/>
<p:output port="z.final" primary="true">
<p:pipe port="result" step="final"/>
</p:output>
<!-- &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& &&& -->
<!-- Pipeline -->
<p:identity name="input"/>
<p:xslt name="select">
<p:input port="stylesheet">
<p:document href="oscal-profile-resolve-select.xsl"/>
</p:input>
</p:xslt>
<p:xslt name="metadata">
<p:input port="stylesheet">
<p:document href="oscal-profile-resolve-metadata.xsl"/>
</p:input>
</p:xslt>
<p:xslt name="merge">
<p:input port="stylesheet">
<p:document href="oscal-profile-resolve-merge.xsl"/>
</p:input>
</p:xslt>
<p:xslt name="modify">
<p:input port="stylesheet">
<p:document href="oscal-profile-resolve-modify.xsl"/>
</p:input>
</p:xslt>
<p:xslt name="finish">
<p:input port="stylesheet">
<p:document href="oscal-profile-resolve-finish.xsl"/>
</p:input>
</p:xslt>
<p:identity name="final"/>
</p:declare-step>