# HG changeset patch # User Patrick PIERRE # Date 1358187573 -3600 # Node ID 1568fa18df9e5e453d267a03ceb266535d04c1f7 # Parent eaa2b6a4ead8a8fd2fd51dd8637cab7a9c5d63b8 Ajout de la collection diff -r eaa2b6a4ead8 -r 1568fa18df9e RelaxNG/Examples/Documents/torture_test.xml --- 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 @@ 9781449328030 http://www.prismallia.fr/Xml/torture_test Prismallia, Paris, 2012 + Sachez vous mettre à l'épreuve PatrickPIERRE diff -r eaa2b6a4ead8 -r 1568fa18df9e RelaxNG/publidoc.rnc --- 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 diff -r eaa2b6a4ead8 -r 1568fa18df9e RelaxNG/publiset.rnc --- 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