RelaxNG/publiset.rng
changeset 39 7faa356bad3e
parent 38 3c8b406be906
child 40 7cfe2d4957c6
--- a/RelaxNG/publiset.rng	mer. juil. 20 14:38:48 2011 +0200
+++ b/RelaxNG/publiset.rng	mer. juil. 20 15:05:37 2011 +0200
@@ -153,6 +153,9 @@
       <optional>
         <ref name="language"/>
       </optional>
+      <optional>
+        <ref name="copyright"/>
+      </optional>
       <zeroOrMore>
         <ref name="author"/>
       </zeroOrMore>
@@ -233,6 +236,15 @@
       <data type="language"/>
     </attribute>
   </define>
+  <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ copyright ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+  <define name="copyright">
+    <element name="copyright">
+      <ref name="copyright.content"/>
+    </element>
+  </define>
+  <define name="copyright.content">
+    <ref name="inlines"/>
+  </define>
   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ author, publisher ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <!-- ~~~~~~ author -->
   <define name="author">