RelaxNG/publidoc.rnc
changeset 75 70418017787e
parent 73 0a3a8006996b
child 86 2d51a1795ed3
--- 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 =