1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
3 xmlns="http://relaxng.org/ns/structure/1.0"
4 datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
5 ns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
6
7 <define name="textbox">
8 <element name="textbox">
9 <ref name="textbox.attlist"/>
10 <empty/>
11 </element>
12 </define>
13
14 <define name="textbox.attlist">
15 <ref name="xul.attlist"/>
16 <ref name="script.attlist"/>
17 <ref name="cols.attrib"/>
18 <ref name="disabled.attrib"/>
19 <ref name="maxlength.attrib"/>
20 <ref name="multiline.attrib"/>
21 <ref name="onchange.attrib"/>
22 <ref name="oninput.attrib"/>
23 <ref name="readonly.attrib"/>
24 <ref name="rows.attrib"/>
25 <ref name="size.attrib"/>
26 <ref name="tabindex.attrib"/>
27 <ref name="timeout.attrib"/>
28 <ref name="type.attrib"/>
29 <ref name="value.attrib"/>
30 </define>
31
32 <define name="Textbox.class">
33 <ref name="textbox"/>
34 </define>
35
36 <define name="Block.class" combine="choice">
37 <ref name="Textbox.class"/>
38 </define>
39
40 </grammar>