RelaxNG/publiquiz.rnc
changeset 344 baeef555fae8
parent 343 33b213ccb385
child 345 3efc05bff7a1
equal deleted inserted replaced
343:33b213ccb385 344:baeef555fae8
   236 
   236 
   237 categories.attributes =
   237 categories.attributes =
   238    multiple.attribute?
   238    multiple.attribute?
   239 
   239 
   240 categories.content =
   240 categories.content =
   241    category.intruders?,
   241    categories.intruders?,
   242    category,
   242    category,
   243    category+
   243    category+
   244 
   244 
   245 # ~~~~~~ category
   245 # ~~~~~~ category
   246 category = element category { category.content }
   246 category = element category { category.content }
   509    inlines
   509    inlines
   510  | ((p | image | (audio, image?) | video), help?, answer?)
   510  | ((p | image | (audio, image?) | video), help?, answer?)
   511 
   511 
   512 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ blanks.intruders ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   512 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ blanks.intruders ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   513 
   513 
   514 # ~~~~~~ blanks.intruders
       
   515 blanks.intruders = element intruders { blanks.intruders.content }
   514 blanks.intruders = element intruders { blanks.intruders.content }
   516 
   515 
   517 blanks.intruders.content =
   516 blanks.intruders.content =
   518    blank+
   517    blank+
   519 
   518 
   541 
   540 
   542 sort.item.content =
   541 sort.item.content =
   543    inlines
   542    inlines
   544  | (p, help?, answer?)
   543  | (p, help?, answer?)
   545 
   544 
   546 # ~~~~~~~~~~~~~~~~~~~~~ category.intruders, category.item ~~~~~~~~~~~~~~~~~~~~~
   545 # ~~~~~~~~~~~~~~~~~~~~~ categories.intruders, category.item ~~~~~~~~~~~~~~~~~~~
   547 
   546 
   548 # ~~~~~~ category.intruders
   547 # ~~~~~~ categories.intruders
   549 category.intruders = element intruders { category.intruders.content }
   548 categories.intruders = element intruders { categories.intruders.content }
   550 
   549 
   551 category.intruders.content =
   550 categories.intruders.content =
   552    category.item+
   551    category.item+
   553 
   552 
   554 # ~~~~~~ category.item
   553 # ~~~~~~ category.item
   555 category.item = element item { category.item.content }
   554 category.item = element item { category.item.content }
   556 
   555