# HG changeset patch # User Coraline MARKWITZ # Date 1471447753 -7200 # Node ID 8a0af445525a046d5cc2b1b0277c81b7fd07ad10 # Parent 25c3b6109823da920bf3e30a93b85745a82c1210 supp parallax diff -r 25c3b6109823 -r 8a0af445525a RelaxNG/publidoc.rnc --- a/RelaxNG/publidoc.rnc mar. août 16 18:02:17 2016 +0200 +++ b/RelaxNG/publidoc.rnc mer. août 17 17:29:13 2016 +0200 @@ -643,7 +643,6 @@ media.image.content = copyright?, - parallax?, hotspot* # ~~~~~~ audio @@ -709,27 +708,6 @@ | audio | video -# ~~~~~~ parallax -parallax = element parallax { parallax.attributes, parallax.content } - -parallax.attributes = - axis.attribute? - & position.attribute? -axis.attribute = attribute axis { "horizontal" | "vertical" } -position.attribute = attribute position { xsd:token {pattern = "-?\d{1,2}(\.\d{1,2})?"} } - -parallax.content = - parallax.image* - -# ~~~~~~ parallax.image -parallax.image = element image { parallax.image.attributes, parallax.image.content } -parallax.image.content = - hotspot* - -parallax.image.attributes = - media.id.attribute - & alt.attribute? - # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenario ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # ~~~~~~ scenario