diff -r ebe0ab8699fc -r 70418017787e RelaxNG/publidoc.rnc --- a/RelaxNG/publidoc.rnc dim. janv. 22 09:58:59 2012 +0100 +++ b/RelaxNG/publidoc.rnc dim. janv. 22 23:24:35 2012 +0100 @@ -324,12 +324,11 @@ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ list ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # ~~~~~~ list -\list = element list { \list.content } - -\list.content = +\list = element list { block.head?, ( (attribute type {"ordered"}?, item, item+) | (attribute type {"glossary"}, glossary.item+) ) +} # ~~~~~~ item item = element item { item.content } @@ -401,7 +400,7 @@ tbody.attributes = valign.attribute? valign.attribute = attribute valign { "top" | "middle" | "bottom" } - + thead.content = row+ tfoot.content =