attribut type sur <tr>
authorTiphanie YALAP
mer., 16 avril 2014 13:07:05 +0200
changeset 309 b748affd5db2
parent 308 3a1cca4c6acb
child 310 13939fb7824a
attribut type sur <tr>
RelaxNG/publidoc.rnc
--- a/RelaxNG/publidoc.rnc	sam. mars 29 21:12:34 2014 +0100
+++ b/RelaxNG/publidoc.rnc	mer. avril 16 13:07:05 2014 +0200
@@ -314,8 +314,10 @@
 tr.attributes =
    align.attribute?
  & valign.attribute?
+ & cell.type.attribute?
 align.attribute = attribute align { "left"  |  "right"  | "center" | "justify" }
 valign.attribute = attribute valign { "top" | "middle" | "bottom" }
+cell.type.attribute = attribute type { xsd:NCName }
 
 tr.content =
    (td | th)+
@@ -329,10 +331,9 @@
  & valign.attribute?
  & colspan.attribute?
  & rowspan.attribute?
- & td.type.attribute?
+ & cell.type.attribute?
 colspan.attribute = attribute colspan { xsd:positiveInteger }
 rowspan.attribute = attribute rowspan { xsd:positiveInteger }
-td.type.attribute = attribute type { xsd:NCName }
 
 td.content =
    inlines