86361
|
1 # Text Module
|
|
2
|
|
3 br = element br { br.attlist, empty }
|
|
4 br.attlist = Core.attrib
|
|
5 span = element span { span.attlist, Inline.model }
|
|
6 span.attlist = Common.attrib
|
|
7 abbr = element abbr { abbr.attlist, Inline.model }
|
|
8 abbr.attlist = Common.attrib
|
|
9 acronym = element acronym { acronym.attlist, Inline.model }
|
|
10 acronym.attlist = Common.attrib
|
|
11 cite = element cite { cite.attlist, Inline.model }
|
|
12 cite.attlist = Common.attrib
|
|
13 code = element code { code.attlist, Inline.model }
|
|
14 code.attlist = Common.attrib
|
|
15 dfn = element dfn { dfn.attlist, Inline.model }
|
|
16 dfn.attlist = Common.attrib
|
|
17 em = element em { em.attlist, Inline.model }
|
|
18 em.attlist = Common.attrib
|
|
19 kbd = element kbd { kbd.attlist, Inline.model }
|
|
20 kbd.attlist = Common.attrib
|
|
21 q = element q { q.attlist, Inline.model }
|
|
22 q.attlist =
|
|
23 Common.attrib,
|
|
24 attribute cite { URI.datatype }?
|
|
25 samp = element samp { samp.attlist, Inline.model }
|
|
26 samp.attlist = Common.attrib
|
|
27 strong = element strong { strong.attlist, Inline.model }
|
|
28 strong.attlist = Common.attrib
|
|
29 var = element var { var.attlist, Inline.model }
|
|
30 var.attlist = Common.attrib
|
|
31 \div = element div { div.attlist, Flow.model }
|
|
32 div.attlist = Common.attrib
|
|
33 p = element p { p.attlist, Inline.model }
|
|
34 p.attlist = Common.attrib
|
|
35 address = element address { address.attlist, Inline.model }
|
|
36 address.attlist = Common.attrib
|
|
37 blockquote = element blockquote { blockquote.attlist, Block.model }
|
|
38 blockquote.attlist =
|
|
39 Common.attrib,
|
|
40 attribute cite { URI.datatype }?
|
|
41 pre = element pre { pre.attlist, Inline.model }
|
|
42 pre.attlist =
|
|
43 Common.attrib,
|
|
44 attribute xml:space { "preserve" }?
|
|
45 h1 = element h1 { Heading.attrib, Heading.content }
|
|
46 h2 = element h2 { Heading.attrib, Heading.content }
|
|
47 h3 = element h3 { Heading.attrib, Heading.content }
|
|
48 h4 = element h4 { Heading.attrib, Heading.content }
|
|
49 h5 = element h5 { Heading.attrib, Heading.content }
|
|
50 h6 = element h6 { Heading.attrib, Heading.content }
|
|
51 Heading.attrib = Common.attrib
|
|
52 Heading.content = Inline.model
|
|
53 Heading.class = h1 | h2 | h3 | h4 | h5 | h6
|
|
54 Block.class = address | blockquote | \div | p | pre | Heading.class
|
|
55 Inline.class =
|
|
56 abbr
|
|
57 | acronym
|
|
58 | br
|
|
59 | cite
|
|
60 | code
|
|
61 | dfn
|
|
62 | em
|
|
63 | kbd
|
|
64 | q
|
|
65 | samp
|
|
66 | span
|
|
67 | strong
|
|
68 | var
|
|
69 Inline.model = (text | Inline.class)*
|
|
70 # This is redefined by the legacy module to include inlines.
|
|
71 Block.mix = Block.class
|
|
72 Block.model = Block.mix+
|
|
73 Flow.model = (text | Inline.class | Block.class)*
|