forked from ClusterLabs/pacemaker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnvset.rng
35 lines (33 loc) · 1002 Bytes
/
nvset.rng
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
<?xml version="1.0" encoding="UTF-8"?>
<!-- types: http://www.w3.org/TR/xmlschema-2/#dateTime -->
<grammar xmlns="http://relaxng.org/ns/structure/1.0"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<start>
<ref name="element-nvset"/>
</start>
<define name="element-nvset">
<choice>
<attribute name="id-ref"><data type="IDREF"/></attribute>
<group>
<attribute name="id"><data type="ID"/></attribute>
<interleave>
<optional>
<externalRef href="rule.rng"/>
</optional>
<zeroOrMore>
<element name="nvpair">
<attribute name="id"><data type="ID"/></attribute>
<attribute name="name"><text/></attribute>
<optional>
<attribute name="value"><text/></attribute>
</optional>
</element>
</zeroOrMore>
<optional>
<externalRef href="score.rng"/>
</optional>
</interleave>
</group>
</choice>
</define>
</grammar>