Augmentation de la précision du positionnement
authorPatrick PIERRE <patrick.pierre@prismallia.fr>
dim., 17 juin 2012 19:52:23 +0200
changeset 120 01d4b1ac09af
parent 119 8a879730e853
child 121 f3e221b25f64
Augmentation de la précision du positionnement
RelaxNG/publidoc.rnc
--- a/RelaxNG/publidoc.rnc	ven. juin 15 02:01:11 2012 +0200
+++ b/RelaxNG/publidoc.rnc	dim. juin 17 19:52:23 2012 +0200
@@ -347,10 +347,10 @@
  & y.attribute
  & dx.attribute?
  & dy.attribute?
-x.attribute = attribute x { xsd:token {pattern = "\d{1,2}%"} }
-y.attribute = attribute y { xsd:token {pattern = "\d{1,2}%"} }
-dx.attribute = attribute dx { xsd:token {pattern = "-?\d{1,2}"} }
-dy.attribute = attribute dy { xsd:token {pattern = "-?\d{1,2}"} }
+x.attribute = attribute x { xsd:token {pattern = "\d{1,2}(\.\d)?%"} }
+y.attribute = attribute y { xsd:token {pattern = "\d{1,2}(\.\d)?%"} }
+dx.attribute = attribute dx { xsd:token {pattern = "-?\d{1,2}(\.\d)?"} }
+dy.attribute = attribute dy { xsd:token {pattern = "-?\d{1,2}(\.\d)?"} }
 
 tooltip.content =
    (p | image)+