RelaxNG/publiquiz.rnc
changeset 128 14dc149154f4
parent 127 efce69890bfd
child 141 c9c48f6453f4
--- a/RelaxNG/publiquiz.rnc	jeu. août 02 17:16:36 2012 +0200
+++ b/RelaxNG/publiquiz.rnc	lun. août 06 17:14:33 2012 +0200
@@ -33,13 +33,19 @@
 
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ quiz ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-top.quiz = element quiz { top.quiz.attributes, quiz.content }
+top.quiz = element quiz { top.quiz.attributes, top.quiz.content }
 
 top.quiz.attributes =
    quiz.id.attribute
  & lang.attribute?
 quiz.id.attribute = attribute id { xsd:NMTOKEN }
 
+top.quiz.content =
+   top.head?,
+   instructions,
+   (engine | composite),
+   help?,
+   answer?
 
 # =============================================================================
 #                               COMPONENT LEVEL