view etc/schema/xhtml-lst.rnc @ 109400:c232035b5f44

(delphi-token-at): Give newlines precedence over literal tokens when parsing so newlines aren't "absorbed" by single-line comments. Corrects the indentation of case blocks that have a comment on the first line.
author Simon South <ssouth@member.fsf.org>
date Wed, 14 Jul 2010 22:34:47 -0400
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