RelaxNG/publiquiz.rnc
changeset 472 021552e09b34
parent 468 6b322a48536c
child 476 6c30a3543cd8
--- a/RelaxNG/publiquiz.rnc	jeu. nov. 08 16:21:04 2018 +0100
+++ b/RelaxNG/publiquiz.rnc	mar. nov. 20 15:46:03 2018 +0100
@@ -441,7 +441,7 @@
 case_insensitive.attribute = attribute case-insensitive { xsd:boolean }
 
 dictation.content =
-    audio,
+    dictation.media,
     dictation.p
 
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ production ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -779,6 +779,7 @@
 blanks-c.media = element media { media.attributes, blanks-c.media.content }
 correct.media = element media { media.attributes, correct.media.content }
 pointing.media = element media { media.attributes, pointing.media.content }
+dictation.media = element media { media.attributes, dictation.media.content }
 
 blanks.media.content =
    block.head?,
@@ -805,6 +806,8 @@
    (image | audio | video)+,
    pointing.media.caption?,
    link?
+dictation.media.content =
+   audio
 
 # ~~~~~~ blanks.image
 blanks.image = element image { image.attributes, blanks.image.content }