# HG changeset patch # User Coraline MARKWITZ # Date 1454953238 -3600 # Node ID 3c439435e47224df5ef1ebbf256946223b558bcd # Parent 461c1b4bd0e2cef4e06840a964c934e85726aa09 production preremplie diff -r 461c1b4bd0e2 -r 3c439435e472 RelaxNG/publidoc.rnc --- a/RelaxNG/publidoc.rnc mar. janv. 26 15:11:02 2016 +0100 +++ b/RelaxNG/publidoc.rnc lun. févr. 08 18:40:38 2016 +0100 @@ -589,10 +589,12 @@ image.attributes = media.id.attribute & image.type.attribute? + & image.zoom.attribute? & alt.attribute? media.id.attribute = attribute id { xsd:NMTOKEN } image.type.attribute = attribute type { "cover" | "thumbnail" | "icon" | "animation" } +image.zoom.attribute = attribute zoom {"true" | "false"} alt.attribute = attribute alt { text } media.image.content = diff -r 461c1b4bd0e2 -r 3c439435e472 RelaxNG/publiquiz.rnc --- a/RelaxNG/publiquiz.rnc mar. janv. 26 15:11:02 2016 +0100 +++ b/RelaxNG/publiquiz.rnc lun. févr. 08 18:40:38 2016 +0100 @@ -287,7 +287,9 @@ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ production ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -production = element production { empty } +production = element production { production.content } + +production.content = text # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ composite ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~