diff -r efce69890bfd -r 14dc149154f4 RelaxNG/publiquiz.rnc --- 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