--- /dev/null jeu. janv. 01 00:00:00 1970 +0000
+++ b/Data/Quiz/mip_image.xml mer. déc. 02 16:26:05 2015 +0100
@@ -0,0 +1,26 @@
+<?xml version='1.0' encoding='utf-8'?>
+<!-- $Id$ -->
+<publiquiz version="1.0">
+ <quiz id="mip_image" xml:lang="fr">
+ <head>
+ <title>Images dans une image (PIP)</title>
+ </head>
+
+ <instructions>
+ <p>Entoure en vert les nombres multiples de 3 et en rouge ceux multiples
+ de 5.</p>
+ </instructions>
+
+ <mip multiple="true">
+ <image id="bingo">
+ <dropzone x="2.5%" y="28.3%" w="11%" h="11%"></dropzone>
+ <dropzone x="16.1%" y="28.3%" w="11%" h="11%"></dropzone>
+ <dropzone x="30.3%" y="28.3%" w="11%" h="11%"><image id="bingo_green"/></dropzone>
+ <dropzone x="43.9%" y="28.3%" w="11%" h="11%"><image id="bingo_red"/></dropzone>
+ <dropzone x="58.0%" y="28.3%" w="11%" h="11%"><image id="bingo_red"/></dropzone>
+ <dropzone x="72.0%" y="28.3%" w="11%" h="11%"></dropzone>
+ <dropzone x="86.0%" y="28.3%" w="11%" h="11%"><image id="bingo_green"/></dropzone>
+ </image>
+ </mip>
+ </quiz>
+</publiquiz>
--- a/Data/Quiz/pip.xml ven. nov. 20 12:30:26 2015 +0100
+++ /dev/null jeu. janv. 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-<?xml version='1.0' encoding='utf-8'?>
-<!-- $Id$ -->
-<publiquiz version="1.0">
- <quiz id="pip" xml:lang="fr">
- <head>
- <title>Images dans une image (PIP)</title>
- </head>
-
- <instructions>
- <p>Entoure en vert les nombres multiples de 3 et en rouge ceux multiples
- de 5.</p>
- </instructions>
-
- <pip multiple="true">
- <image id="bingo">
- <dropzone x="2.5%" y="28.3%" w="11%" h="11%"></dropzone>
- <dropzone x="16.1%" y="28.3%" w="11%" h="11%"></dropzone>
- <dropzone x="30.3%" y="28.3%" w="11%" h="11%"><image id="bingo_green"/></dropzone>
- <dropzone x="43.9%" y="28.3%" w="11%" h="11%"><image id="bingo_red"/></dropzone>
- <dropzone x="58.0%" y="28.3%" w="11%" h="11%"><image id="bingo_red"/></dropzone>
- <dropzone x="72.0%" y="28.3%" w="11%" h="11%"></dropzone>
- <dropzone x="86.0%" y="28.3%" w="11%" h="11%"><image id="bingo_green"/></dropzone>
- </image>
- </pip>
- </quiz>
-</publiquiz>
--- a/Data/Sets/quiz.xml ven. nov. 20 12:30:26 2015 +0100
+++ b/Data/Sets/quiz.xml mer. déc. 02 16:26:05 2015 +0100
@@ -29,7 +29,7 @@
<file>categories.xml</file>
<file argument="color">categories_multiple.xml</file>
<file>categories_image.xml</file>
- <file>pip.xml</file>
+ <file>mip.xml</file>
<file>production.xml</file>
<file>composite.xml</file>
</division>
--- a/RelaxNG/publiquiz.rnc ven. nov. 20 12:30:26 2015 +0100
+++ b/RelaxNG/publiquiz.rnc mer. déc. 02 16:26:05 2015 +0100
@@ -106,7 +106,7 @@
| matching
| sort
| categories
- | pip
+ | mip
| production
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ choices ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -136,7 +136,8 @@
blanks-fill.attributes, blanks-fill.content }
blanks-select = element blanks-select {
blanks-select.attributes, blanks-select.content }
-blanks-char = element blanks-char { blanks-select.content }
+blanks-char = element blanks-char {
+ blanks-char.attributes, blanks-select.content }
blanks-fill.attributes =
success.attribute?
@@ -157,6 +158,10 @@
blanks.intruders?,
(blanks.block+ | blanks.section+)
+blanks-char.attributes =
+ remove-space.attribute?
+remove-space.attribute = attribute remove-space { xsd:boolean }
+
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pointing ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pointing = element pointing { pointing.attributes, pointing.content }
@@ -269,16 +274,16 @@
category.head,
category.item*
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pip ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mip ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-pip = element pip { pip.attributes, pip.content }
+mip = element mip { mip.attributes, mip.content }
-pip.attributes =
+mip.attributes =
success.attribute?
& multiple.attribute?
-pip.content =
- pip.image
+mip.content =
+ mip.image
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ production ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -486,24 +491,24 @@
# ~~~~~~ blanks.image
blanks.image = element image { image.attributes, blanks.image.content }
-pip.image = element image { image.attributes, pip.image.content }
+mip.image = element image { image.attributes, mip.image.content }
blanks.image.content =
copyright?,
blanks.dropzone*
-pip.image.content =
- pip.dropzone+
+mip.image.content =
+ mip.dropzone+
# ~~~~~~ dropzone
blanks.dropzone = element dropzone {
blanks.dropzone.attributes, blanks.dropzone.content }
-pip.dropzone = element dropzone {
- pip.dropzone.attributes, pip.dropzone.content }
+mip.dropzone = element dropzone {
+ mip.dropzone.attributes, mip.dropzone.content }
blanks.dropzone.attributes =
x.attribute
& y.attribute
-pip.dropzone.attributes =
+mip.dropzone.attributes =
x.attribute
& y.attribute
& w.attribute
@@ -511,8 +516,9 @@
blanks.dropzone.content =
blank
-pip.dropzone.content =
- image?
+mip.dropzone.content =
+ image?,
+ audio?
# ~~~~~~ media.caption
blanks.media.caption = element caption {
@@ -663,7 +669,7 @@
& long.attribute?
& function.attribute?
area.attribute = attribute area { xsd:boolean }
-function.attribute = attribute function { 'lowercase' | 'uppercase' }
+function.attribute = attribute function { 'accent' | 'uppercase' }
blank.content =
text