RelaxNG/publiquiz.rnc
changeset 118 8d2b19e168e1
parent 117 fb3173d57512
child 122 a0b8294a5a99
equal deleted inserted replaced
117:fb3173d57512 118:8d2b19e168e1
    48 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ quiz ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    48 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ quiz ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    49 
    49 
    50 quiz = element quiz { quiz.attributes, quiz.content }
    50 quiz = element quiz { quiz.attributes, quiz.content }
    51 
    51 
    52 quiz.attributes =
    52 quiz.attributes =
    53    quiz.xmlid.attribute?
    53    quiz.id.attribute?
    54  & lang.attribute?
    54  & lang.attribute?
    55 quiz.xmlid.attribute = attribute xml:id { xsd:ID }
       
    56 
    55 
    57 quiz.content =
    56 quiz.content =
    58    component.head?,
    57    component.head?,
    59    instructions,
    58    instructions,
    60    (engine | composite),
    59    (engine | composite),