summaryrefslogtreecommitdiffstats
path: root/xml/api/crm_shadow-2.30.rng
blob: f65499530c21a21d9c1cb1ceec5d4c7afa609ecc (plain)
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
<?xml version="1.0" encoding="UTF-8"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0"
         datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">

    <!-- Output of the crm_shadow command -->
    <start>
        <ref name="element-crm-shadow" />
    </start>

    <define name="element-crm-shadow">
        <optional>
            <choice>
                <externalRef href="instruction-2.30.rng" />
                <ref name="element-shadow" />
            </choice>
        </optional>
    </define>

    <define name="element-shadow">
        <element name="shadow">
            <attribute name="instance">
                <text/>
            </attribute>
            <optional>
                <attribute name="file">
                    <text/>
                </attribute>
            </optional>
            <optional>
                <element name="content">
                    <!-- CDATA block containing shadow CIB XML -->
                    <text/>
                </element>
            </optional>
            <optional>
                <element name="xml-patchset">
                    <!--
                     CDATA block containing the XML patchset (diff) of the
                     shadow CIB versus the active CIB
                     -->
                    <text/>
                </element>
            </optional>
        </element>
    </define>

</grammar>