RelaxNG/publiquiz.rnc
changeset 478 90e0fdca7fb7
parent 476 6c30a3543cd8
child 479 5061282c7396
equal deleted inserted replaced
477:aec75d22af43 478:90e0fdca7fb7
   167 noshuffle.attribute = attribute no-shuffle { "true" | "false" | "alpha" }
   167 noshuffle.attribute = attribute no-shuffle { "true" | "false" | "alpha" }
   168 long.attribute = attribute long { xsd:positiveInteger }
   168 long.attribute = attribute long { xsd:positiveInteger }
   169 orientation.attribute = attribute orientation {"north"|"east"|"west"|"south"}
   169 orientation.attribute = attribute orientation {"north"|"east"|"west"|"south"}
   170 
   170 
   171 blanks-fill.content =
   171 blanks-fill.content =
   172     (blanks.block+ | blanks.section+)
   172     (blanks.block+ | blanks.section+),
       
   173     keyboard
   173 blanks-select.content =
   174 blanks-select.content =
   174     blanks.intruders?,
   175     blanks.intruders?,
   175     (blanks.block+ | blanks.section+)
   176     (blanks.block+ | blanks.section+)
   176 blanks-media.content =
   177 blanks-media.content =
   177     blanks-m.intruders?,
   178     blanks-m.intruders?,
   460 subquiz.content =
   461 subquiz.content =
   461     instructions?,
   462     instructions?,
   462     engine,
   463     engine,
   463     help?,
   464     help?,
   464     answer?
   465     answer?
       
   466 
       
   467 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyboard ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       
   468 
       
   469 # ~~~~~~ keyboard
       
   470 keyboard = element keyboard { keyboard.content }
       
   471 
       
   472 keyboard.content =
       
   473     keyboard.key+
       
   474 
       
   475 # ~~~~~~ keyboard.key
       
   476 keyboard.key = element key { keyboard.key.content }
       
   477 
       
   478 keyboard.key.content = xsd:token {pattern = "."}
   465 
   479 
   466 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   480 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   467 
   481 
   468 help = element help { help.content }
   482 help = element help { help.content }
   469 
   483