Ajout de la collection
authorPatrick PIERRE
lun., 14 janv. 2013 19:19:33 +0100
changeset 155 1568fa18df9e
parent 154 eaa2b6a4ead8
child 156 29405a66e77b
Ajout de la collection
RelaxNG/Examples/Documents/torture_test.xml
RelaxNG/publidoc.rnc
RelaxNG/publiset.rnc
--- a/RelaxNG/Examples/Documents/torture_test.xml	mar. janv. 01 16:57:31 2013 +0100
+++ b/RelaxNG/Examples/Documents/torture_test.xml	lun. janv. 14 19:19:33 2013 +0100
@@ -9,6 +9,7 @@
       <identifier type="ean">9781449328030</identifier>
       <identifier type="uri">http://www.prismallia.fr/Xml/torture_test</identifier>
       <copyright>Prismallia, Paris, 2012</copyright>
+      <collection>Sachez vous mettre à l'épreuve</collection>
       <contributors>
         <contributor>
           <firstname>Patrick</firstname><lastname>PIERRE</lastname>
--- a/RelaxNG/publidoc.rnc	mar. janv. 01 16:57:31 2013 +0100
+++ b/RelaxNG/publidoc.rnc	lun. janv. 14 19:19:33 2013 +0100
@@ -29,6 +29,7 @@
    (title, shorttitle?, subtitle?)?
  & identifier*
  & copyright?
+ & collection?
  & contributors?
  & date?
  & place?
@@ -366,7 +367,6 @@
    media.id.attribute
 
 # ~~~~~~ hotspot
-
 hotspot = element hotspot { hotspot.attributes, hotspot.content }
 
 hotspot.attributes =
@@ -382,7 +382,6 @@
    (link | audio | video)
    
 # ~~~~~~ tooltip
-
 tooltip = element tooltip { tooltip.attributes, tooltip.content }
 
 tooltip.attributes =
@@ -434,6 +433,12 @@
 
 copyright.content = inlines
 
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ collection ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+collection = element collection { collection.content }
+
+collection.content = inlines
+
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ contributors ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 # ~~~~~~ contributors
--- a/RelaxNG/publiset.rnc	mar. janv. 01 16:57:31 2013 +0100
+++ b/RelaxNG/publiset.rnc	lun. janv. 14 19:19:33 2013 +0100
@@ -55,6 +55,7 @@
    (title, shorttitle?, subtitle?)?
  & identifier*
  & copyright?
+ & collection?
  & contributors?
  & keywordset?
  & abstract?
@@ -181,6 +182,12 @@
 
 copyright.content = inlines
 
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ collection ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+collection = element collection { collection.content }
+
+collection.content = inlines
+
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ contributors ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 # ~~~~~~ contributors