view etc/schema/xhtml-list.rnc @ 86455:57027a3a29e3

(calc-modes-menu): Add normal and incomplete algebraic modes.
author Jay Belanger <jay.p.belanger@gmail.com>
date Tue, 27 Nov 2007 01:07:15 +0000
parents 38f93f3d00a2
children
line wrap: on
line source

# List Module

dl = element dl { dl.attlist, (dt | dd)+ }
dl.attlist = Common.attrib
dt = element dt { dt.attlist, Inline.model }
dt.attlist = Common.attrib
dd = element dd { dd.attlist, Flow.model }
dd.attlist = Common.attrib
ol = element ol { ol.attlist, li+ }
ol.attlist = Common.attrib
ul = element ul { ul.attlist, li+ }
ul.attlist = Common.attrib
li = element li { li.attlist, Flow.model }
li.attlist = Common.attrib
List.class = ul | ol | dl
Block.class |= List.class