--- a/RelaxNG/publidoc.rnc mer. juil. 20 15:05:37 2011 +0200
+++ b/RelaxNG/publidoc.rnc mer. juil. 20 22:57:09 2011 +0200
@@ -47,6 +47,7 @@
top.head?,
section+
+
# =============================================================================
# HEAD LEVEL
# =============================================================================
@@ -69,6 +70,7 @@
& date?
& place?
& source*
+ & keywordset?
& subjectset?
& abstract?
& cover?
@@ -196,7 +198,17 @@
pagenumber.value.attribute
pagenumber.value.attribute = attribute value { xsd:positiveInteger }
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ subject ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyword & subject ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+# ~~~~~~ keywordset
+keywordset = element keywordset { keywordset.content }
+
+keywordset.content = keyword+
+
+# ~~~~~~ keyword
+keyword = element keyword { keyword.content }
+
+keyword.content = text
# ~~~~~~ subjectset
subjectset = element subjectset { subjectset.content }