RelaxNG/publiset.rnc
changeset 98 276a83581fb4
parent 97 e28caa4cbf4c
child 101 3ec3b2eceeb8
--- a/RelaxNG/publiset.rnc	ven. avril 27 23:03:50 2012 +0200
+++ b/RelaxNG/publiset.rnc	sam. avril 28 12:41:01 2012 +0200
@@ -57,6 +57,7 @@
  & identifier*
  & copyright?
  & contributors?
+ & keywordset?
  & abstract?
  & cover?
 
@@ -86,6 +87,8 @@
 #                                DIVISION LEVEL
 # =============================================================================
 
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ division ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
 # ~~~~~~ division
 composition.division = element division {
    composition.division.attributes,
@@ -218,6 +221,18 @@
 
 role.content = "author" | "illustrator" | "publisher"
 
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyword ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+# ~~~~~~ keywordset
+keywordset = element keywordset { keywordset.content }
+
+keywordset.content = keyword+
+
+# ~~~~~~ keyword
+keyword = element keyword { keyword.content }
+
+keyword.content = mixed { sup*, sub* }
+
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ abstract ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 abstract = element abstract { abstract.content }