Restriction du contenu de <link> et <name>
authorPatrick PIERRE <patrick.pierre@prismallia.fr>
lun., 24 juin 2013 00:51:01 +0200
changeset 230 0decd945374e
parent 229 1c5f4d823198
child 231 3b409238c9f9
Restriction du contenu de <link> et <name>
RelaxNG/publiset.rnc
--- a/RelaxNG/publiset.rnc	dim. juin 23 12:11:00 2013 +0200
+++ b/RelaxNG/publiset.rnc	lun. juin 24 00:51:01 2013 +0200
@@ -308,10 +308,11 @@
 
 name.attributes =
    name.of.attribute?
-name.of.attribute = attribute of
-   { "person" | "company" | "book" | "newspaper" | "party" | "painting" }
+name.of.attribute = attribute of {
+   "person" | "company" | "book" | "newspaper" | "party" | "painting"
+ | "movie" }
 
-name.content = inlines
+name.content = mixed { sup* }
 
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ highlight ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
@@ -327,7 +328,7 @@
    uri.attribute
 uri.attribute = attribute uri { xsd:anyURI }
 
-link.content = inlines
+link.content = mixed { sup* & sub* & date* & name* & highlight* }
 
 
 # =============================================================================