--- 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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- a/Xml/Quiz/composite.xml lun. janv. 23 00:06:09 2012 +0100
+++ b/Xml/Quiz/composite.xml lun. janv. 23 18:59:27 2012 +0100
@@ -3,7 +3,7 @@
<publiquiz version="1.0">
<quiz xml:id="composite" xml:lang="fr">
<head>
- <title>Assemblage d'exercices</title>
+ <title>Exercice composite</title>
</head>
<instructions>
@@ -11,35 +11,54 @@
</instructions>
<composite>
- <instructions>
- <p>abeille</p>
- </instructions>
- <choices type="radio">
- <wrong>gastéropode</wrong>
- <right>insecte</right>
- <wrong>mollusque</wrong>
- </choices>
+ <quiz>
+ <instructions>
+ <p>abeille</p>
+ </instructions>
+ <choices type="radio">
+ <wrong>gastéropode</wrong>
+ <right>insecte</right>
+ <wrong>mollusque</wrong>
+ </choices>
+ </quiz>
- <instructions>
- <p>aigle</p>
- </instructions>
- <choices type="check">
- <right>oiseau</right>
- <wrong>passereau</wrong>
- <wrong>charognard</wrong>
- <right>rapace</right>
- </choices>
+ <quiz>
+ <instructions>
+ <p>aigle</p>
+ </instructions>
+ <choices type="check">
+ <right>oiseau</right>
+ <wrong>passereau</wrong>
+ <wrong>charognard</wrong>
+ <right>rapace</right>
+ </choices>
+ </quiz>
- <instructions>
- <p>albatros</p>
- </instructions>
- <point type="radio">
- <p>
- <right>oiseau</right>_/
- <wrong>rongeur</wrong> /
- <wrong>reptile</wrong>
- </p>
- </point>
+ <quiz>
+ <instructions>
+ <p>albatros</p>
+ </instructions>
+ <point type="radio">
+ <p>
+ <right>oiseau</right> /
+ <wrong>rongeur</wrong> /
+ <wrong>reptile</wrong>
+ </p>
+ </point>
+ </quiz>
+
+ <quiz>
+ <instructions>
+ <p>albatros</p>
+ </instructions>
+ <blanks type="select">
+ <wrongs>
+ <wrong>reptile</wrong>
+ <wrong>oiseaux</wrong>
+ </wrongs>
+ <p>Catégorie : <blank>mammifère</blank></p>
+ </blanks>
+ </quiz>
</composite>
</quiz>
</publiquiz>