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

    <start>
        <ref name="element-digests"/>
    </start>

    <define name="element-digests">
        <element name="digests">
            <attribute name="resource"> <text/> </attribute>
            <attribute name="node"> <text/> </attribute>
            <attribute name="task"> <text/> </attribute>
            <attribute name="interval"> <text/> </attribute>
            <zeroOrMore>
                <ref name="element-digest"/>
            </zeroOrMore>
        </element>
    </define>

    <define name="element-digest">
        <element name="digest">
            <attribute name="type"> <text/> </attribute>
            <attribute name="hash"> <text/> </attribute>
            <optional>
                <element name="parameters">
                    <zeroOrMore>
                        <attribute>
                          <anyName/>
                          <text/>
                        </attribute>
                    </zeroOrMore>
                </element>
            </optional>
        </element>
    </define>
</grammar>