view etc/schema/xhtml-lst.rnc @ 103919:ab3de87ae5a3

(copyright-update): Save match-data across y-or-n-p, for safety.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 16 Jul 2009 02:01:31 +0000
parents 288134f0441f
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