1 <!ELEMENT schemalist (schema*) >
2 <!ATTLIST schemalist gettext-domain #IMPLIED >
4 <!ELEMENT schema (key|child)* >
5 <!ATTLIST schema id CDATA #REQUIRED
7 gettext-domain CDATA #IMPLIED >
9 <!ELEMENT key (default|summary?|description?|range?|choices?) >
10 <!-- name can only contain lowercase letters, numbers and '-' -->
11 <!-- type must be a GVariant type string -->
12 <!ATTLIST key name CDATA #REQUIRED
13 type CDATA #REQUIRED >
15 <!-- the default value is specified a a serialized GVariant,
16 i.e. you have to include the quotes when specifying a string -->
17 <!ELEMENT default (#PCDATA) >
18 <!-- the presence of the l10n attribute marks a default value for
19 translation, its value is the gettext category to use -->
20 <!-- if context is present, it specifies msgctxt to use -->
21 <!ATTLIST default l10n (messages|time) #IMPLIED
22 context CDATA #IMPLIED >
24 <!ELEMENT summary (#PCDATA) >
25 <!ELEMENT description (#PCDATA) >
27 <!ELEMENT range (min,max) >
28 <!ELEMENT min (#PCDATA) >
29 <!ELEMENT max (#PCDATA) >
31 <!ELEMENT choices (choice+) >
32 <!ELEMENT choice (alias?) >
33 <!ATTLIST choice value CDATA #REQUIRED >
34 <!ELEMENT choice (alias?) >
35 <!ELEMENT alias EMPTY >
36 <!ATTLIST alias value CDATA #REQUIRED >
38 <!ELEMENT child EMPTY >
39 <!ATTLIST child name CDATA #REQUIRED
40 schema CDATA #REQUIRED >