RelaxNG/publiquiz.rnc
changeset 122 a0b8294a5a99
parent 118 8d2b19e168e1
child 125 dd9b04a54839
--- a/RelaxNG/publiquiz.rnc	dim. juin 17 19:55:34 2012 +0200
+++ b/RelaxNG/publiquiz.rnc	jeu. juin 21 02:45:51 2012 +0200
@@ -50,8 +50,9 @@
 quiz = element quiz { quiz.attributes, quiz.content }
 
 quiz.attributes =
-   quiz.id.attribute?
+   (quiz.id.attribute | quiz.xmlid.attribute)?
  & lang.attribute?
+quiz.xmlid.attribute = attribute xml:id { xsd:ID }
 
 quiz.content =
    component.head?,