RelaxNG/publiquiz.rnc
changeset 183 f9b4457d0778
parent 176 b1ce505b889d
child 192 c56f8c6b2868
equal deleted inserted replaced
182:af222772225f 183:f9b4457d0778
   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    hotspot*,
       
   376    blanks.hotspot*
   375    blanks.hotspot*
   377 
   376 
   378 # ~~~~~~ blanks.hotspot
   377 # ~~~~~~ blanks.hotspot
   379 blanks.hotspot = element hotspot { hotspot.attributes, blanks.hotspot.content }
   378 blanks.hotspot = element hotspot {
       
   379    blanks.hotspot.attributes, blanks.hotspot.content }
       
   380 
       
   381 blanks.hotspot.attributes =
       
   382    x.attribute
       
   383  & y.attribute   
   380 
   384 
   381 blanks.hotspot.content =
   385 blanks.hotspot.content =
   382    (p | image | blank)
   386    blank
   383 
   387 
   384 # ~~~~~~~~~~~~~~~~~~~~~~~~ choices.right, choices.wrong ~~~~~~~~~~~~~~~~~~~~~~~
   388 # ~~~~~~~~~~~~~~~~~~~~~~~~ choices.right, choices.wrong ~~~~~~~~~~~~~~~~~~~~~~~
   385 
   389 
   386 choices.right = element right { choices.right.content }
   390 choices.right = element right { choices.right.content }
   387 choices.wrong = element wrong { choices.right.content }
   391 choices.wrong = element wrong { choices.right.content }