1 # Simplified Forms Module
6 # Don't use Block.model, because this gets redefined by the
12 attribute action { URI.datatype },
13 attribute method { "get" | "post" }?,
14 attribute enctype { ContentType.datatype }?
15 label = element label { label.attlist, Inline.model }
18 attribute for { IDREF.datatype }?,
19 attribute accesskey { Character.datatype }?
20 input = element input { input.attlist }
23 attribute type { InputType.class }?,
24 attribute name { text }?,
25 attribute value { text }?,
26 attribute checked { "checked" }?,
27 attribute size { text }?,
28 attribute maxlength { Number.datatype }?,
29 attribute src { URI.datatype }?,
30 attribute accesskey { Character.datatype }?
39 select = element select { select.attlist, option+ }
42 attribute name { text }?,
43 attribute size { Number.datatype }?,
44 attribute multiple { "multiple" }?
48 attribute selected { "selected" }?,
49 attribute value { text }?,
52 textarea = element textarea { textarea.attlist }
55 attribute name { text }?,
56 attribute rows { Number.datatype },
57 attribute cols { Number.datatype },
58 attribute accesskey { Character.datatype }?,
61 Formctrl.class = input | label | select | textarea
62 Block.class |= Form.class
63 Inline.class |= Formctrl.class