]> git.rkrishnan.org Git - .emacs.d.git/blob - emacs/nxhtml/etc/schema/qtmstr-xhtml.rnc
remove toolbar and menubar
[.emacs.d.git] / emacs / nxhtml / etc / schema / qtmstr-xhtml.rnc
1 default namespace = "http://www.w3.org/1999/xhtml"\r
2 \r
3 include "genshi.rnc"\r
4 include "xhtml-loader.rnc" {\r
5    start = html | head | head.content | body | frameset | frame | noframes |\r
6       Block.class | Inline.class | Table.class | Form.extra.class | genshi.class\r
7    html = element html { html.attlist, (genshi.model | (head, (body | frameset | genshi.model))) }\r
8    frameset =\r
9       element frameset {\r
10          frameset.attlist,\r
11          (((frameset | frame)+ & noframes?) | genshi.model)\r
12       }\r
13    noframes = element noframes { noframes.attlist, (body | genshi.model) }\r
14    title = element title { title.attlist, (text | genshi.model)* }\r
15    script = element script { script.attlist, (text | genshi.model)* }\r
16    style = element style { style.attlist, (text | genshi.model)* }\r
17    dl = element dl { dl.attlist, ((dt | dd)+ | genshi.model) }\r
18    ol = element ol { ol.attlist, (li+ | genshi.model) }\r
19    ul = element ul { ul.attlist, (li+ | genshi.model) }\r
20    dir = element dir { dir.attlist, (li.noblock+ | genshi.model) }\r
21    menu = element menu { menu.attlist, (li.noblock+ | genshi.model) }\r
22    select = element select { select.attlist, ((option | optgroup)+ | genshi.model) }\r
23    option =\r
24       element option {\r
25          Common.attrib,\r
26          attribute selected { "selected" }?,\r
27          attribute value { text }?,\r
28          (text | genshi.model)*\r
29       }\r
30    textarea = element textarea { textarea.attlist, (text & genshi.model)* }\r
31    optgroup = element optgroup { optgroup.attlist, (option+ | genshi.model) }\r
32    table =\r
33       element table {\r
34          table.attlist,\r
35          (caption? | genshi.model),\r
36          (col* | colgroup* | genshi.model),\r
37          (((thead? | genshi.model),\r
38             (tfoot? | genshi.model),\r
39             (tbody+ | genshi.model)) | (tr+ | genshi.model))\r
40       }\r
41    colgroup = element colgroup { colgroup.attlist, (col* | genshi.model) }\r
42    tr = element tr { tr.attlist, ((th | td)+ | genshi.model) }\r
43    tbody = element tbody { tbody.attlist, (tr+ | genshi.model) }\r
44    thead = element thead { thead.attlist, (tr+ | genshi.model) }\r
45    tfoot = element tfoot { tfoot.attlist, (tr+ | genshi.model) }\r
46 }\r
47 \r
48 Table.class = caption | colgroup | col | tbody | thead | tfoot | th | tr | td\r
49 Form.extra.class = option | optgroup | legend\r
50 \r
51 Block.class |= genshi.class\r
52 Inline.class |= genshi.class\r
53 head.content &= genshi.class\r
54 \r
55 Core.attrib &= genshi.attrib\r
56 html.attlist  &= genshi.attrib\r
57 head.attlist  &= genshi.attrib\r
58 title.attlist &= genshi.attrib\r
59 base.attlist &= genshi.attrib\r
60 meta.attlist &= genshi.attrib\r
61 script.attlist &= genshi.attrib\r
62 param.attlist &= genshi.attrib\r
63 Edit.attrib &= genshi.attrib\r
64 \r
65 genshi.allowed.children |= html | head | head.content | body | frameset | frame\r
66  | noframes | Inline.class | Block.class | Table.class | Form.extra.class\r