RelaxNG/publiquiz.rnc
changeset 77 4690abab3daa
parent 75 70418017787e
child 80 4392d9609436
--- a/RelaxNG/publiquiz.rnc	lun. janv. 23 00:06:09 2012 +0100
+++ b/RelaxNG/publiquiz.rnc	lun. janv. 23 18:59:27 2012 +0100
@@ -157,11 +157,19 @@
 
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ composite ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
+# ~~~~~~ composite
 composite = element composite { composite.content }
 
 composite.content =
-   (instructions?, engine),
-   (instructions?, engine)+
+   composite.quiz,
+   composite.quiz+
+
+# ~~~~~~ composite.quiz
+composite.quiz = element quiz { composite.quiz.content }
+
+composite.quiz.content =
+   instructions?,
+   engine
 
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~