RelaxNG/publidoc.rnc
changeset 37 83b7ec3c3132
parent 36 d23cfb7be79e
child 38 3c8b406be906
--- a/RelaxNG/publidoc.rnc	mar. juil. 19 13:25:35 2011 +0200
+++ b/RelaxNG/publidoc.rnc	mar. juil. 19 18:16:50 2011 +0200
@@ -273,8 +273,8 @@
    (section+ | block+)
 
 section.attributes =
-   status.attribute?
-status.attribute = attribute status { xsd:NCName }
+   section.type.attribute?
+section.type.attribute = attribute type { xsd:NCName }
 
 
 # =============================================================================
@@ -397,7 +397,7 @@
 
 entry.content =
    inlines
- | p+
+ | (p | media)+
 
 # ~~~~~~ caption
 caption = element caption { caption.content }