More animation work
[potpourri.git] / relaxng / menu.rng
blobe8ee1702a9eba3746c2caf030c85f323d7ce229e
1 <?xml version="1.0" encoding="UTF-8"?>
2 <grammar xmlns="http://relaxng.org/ns/structure/1.0">
3 <start>
4 <element name="menu">
5 <element name="name">
6 <text/>
7 </element>
8 <element name="widgets">
9 <zeroOrMore>
10 <ref name="widget_i"/>
11 </zeroOrMore>
12 </element>
13 <zeroOrMore>
14 <element name="script">
15 <element name="event">
16 <text/>
17 </element>
18 <element name="script">
19 <text/>
20 </element>
21 </element>
22 </zeroOrMore>
23 </element>
24 </start>
25 <define name="widget_i">
26 <element name="widget">
27 <element name="name">
28 <text/>
29 </element>
30 <element name="parent">
31 <text/>
32 </element>
33 <element name="type">
34 <text/>
35 </element>
36 <element name="xpos">
37 <text/>
38 <attribute name="presentation"/>
39 </element>
40 <element name="ypos">
41 <text/>
42 <attribute name="presentation"/>
43 </element>
44 <element name="width">
45 <text/>
46 <attribute name="presentation"/>
47 </element>
48 <element name="height">
49 <text/>
50 <attribute name="presentation"/>
51 </element>
52 <optional>
53 <element name="caption">
54 <text/>
55 </element>
56 </optional>
57 </element>
58 </define>
59 </grammar>