RelaxNG/publiquiz.rnc
changeset 192 c56f8c6b2868
parent 183 f9b4457d0778
child 194 48cf8cfe8b1a
equal deleted inserted replaced
191:e50ac13ec921 192:c56f8c6b2868
   370 # ~~~~~~ blanks.image
   370 # ~~~~~~ blanks.image
   371 blanks.image = element image { image.attributes, blanks.image.content }
   371 blanks.image = element image { image.attributes, blanks.image.content }
   372 
   372 
   373 blanks.image.content =
   373 blanks.image.content =
   374    copyright?,
   374    copyright?,
   375    blanks.hotspot*
   375    blanks.dropzone*
   376 
   376 
   377 # ~~~~~~ blanks.hotspot
   377 # ~~~~~~ blanks.dropzone
   378 blanks.hotspot = element hotspot {
   378 blanks.dropzone = element dropzone {
   379    blanks.hotspot.attributes, blanks.hotspot.content }
   379    blanks.dropzone.attributes, blanks.dropzone.content }
   380 
   380 
   381 blanks.hotspot.attributes =
   381 blanks.dropzone.attributes =
   382    x.attribute
   382    x.attribute
   383  & y.attribute   
   383  & y.attribute   
   384 
   384 
   385 blanks.hotspot.content =
   385 blanks.dropzone.content =
   386    blank
   386    blank
   387 
   387 
   388 # ~~~~~~~~~~~~~~~~~~~~~~~~ choices.right, choices.wrong ~~~~~~~~~~~~~~~~~~~~~~~
   388 # ~~~~~~~~~~~~~~~~~~~~~~~~ choices.right, choices.wrong ~~~~~~~~~~~~~~~~~~~~~~~
   389 
   389 
   390 choices.right = element right { choices.right.content }
   390 choices.right = element right { choices.right.content }