86361
|
1 # List Module
|
|
2
|
|
3 dl = element dl { dl.attlist, (dt | dd)+ }
|
|
4 dl.attlist = Common.attrib
|
|
5 dt = element dt { dt.attlist, Inline.model }
|
|
6 dt.attlist = Common.attrib
|
|
7 dd = element dd { dd.attlist, Flow.model }
|
|
8 dd.attlist = Common.attrib
|
|
9 ol = element ol { ol.attlist, li+ }
|
|
10 ol.attlist = Common.attrib
|
|
11 ul = element ul { ul.attlist, li+ }
|
|
12 ul.attlist = Common.attrib
|
|
13 li = element li { li.attlist, Flow.model }
|
|
14 li.attlist = Common.attrib
|
|
15 List.class = ul | ol | dl
|
|
16 Block.class |= List.class
|