RelaxNG/publiset.rnc
changeset 362 c9c19db11584
parent 361 edbbf787aaa2
child 382 156ce0e2f943
--- a/RelaxNG/publiset.rnc	ven. janv. 16 11:22:43 2015 +0100
+++ b/RelaxNG/publiset.rnc	mer. févr. 11 18:55:00 2015 +0100
@@ -186,6 +186,17 @@
    media.id.attribute
 media.id.attribute = attribute id { xsd:NMTOKEN }
 
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ element ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+\element = element element { element.attributes, element.content }
+
+element.attributes =
+   name.attribute
+name.attribute = attribute name { xsd:NCName }
+   
+element.content =
+   (inlines | \element+)
+
 
 # =============================================================================
 #                                  TOP LEVEL
@@ -237,6 +248,7 @@
  & indexset?
  & abstract?
  & cover?
+ & \element*
 
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ selection ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
@@ -270,6 +282,7 @@
 division.head.content =
    (title, shorttitle?, subtitle*)?
  & indexset?
+ & \element*
 
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ division ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~