# HG changeset patch # User Patrick PIERRE # Date 1373968542 -7200 # Node ID b5b9681596993f4528b9a46d5986e907e3e5bcee # Parent dbec7d0cb842e7e521fbecaf3bd3bab677daf49c Ajout d'un attribut type à diff -r dbec7d0cb842 -r b5b968159699 RelaxNG/Examples/Documents/torture_test.xml --- a/RelaxNG/Examples/Documents/torture_test.xml mar. juil. 16 11:23:37 2013 +0200 +++ b/RelaxNG/Examples/Documents/torture_test.xml mar. juil. 16 11:55:42 2013 +0200 @@ -645,21 +645,24 @@

- +

Directionnel

- +

Compte-tours

- + diff -r dbec7d0cb842 -r b5b968159699 RelaxNG/publidoc.rnc --- a/RelaxNG/publidoc.rnc mar. juil. 16 11:23:37 2013 +0200 +++ b/RelaxNG/publidoc.rnc mar. juil. 16 11:55:42 2013 +0200 @@ -394,12 +394,14 @@ & w.attribute & h.attribute? & hotspot.display.attribute? + & hotspot.type.attribute? & xmlid.attribute? x.attribute = attribute x { xsd:token {pattern = "\d{1,2}(\.\d{1,2})?%"} } y.attribute = attribute y { xsd:token {pattern = "\d{1,2}(\.\d{1,2})?%"} } w.attribute = attribute w { xsd:token {pattern = "\d{1,2}(\.\d{1,2})?%"} } h.attribute = attribute h { xsd:token {pattern = "\d{1,2}(\.\d{1,2})?%"} } hotspot.display.attribute = attribute display { "normal" | "visible" | "pulse" } +hotspot.type.attribute = attribute type { xsd:NCName } hotspot.content = ((link | p+ | hotspot.image | audio | video), (spot, scenario?)?)