# HG changeset patch # User Anne ROELS # Date 1389981289 -3600 # Node ID 2ba15c322900da52251fab790a8da23f3f87401b # Parent a105fb2f8623153fd17408781c9ba9a0f14dd614 Ajout d'un attribut sur une cellule de tableau diff -r a105fb2f8623 -r 2ba15c322900 RelaxNG/Examples/Documents/torture_test.xml --- a/RelaxNG/Examples/Documents/torture_test.xml ven. janv. 17 11:49:13 2014 +0100 +++ b/RelaxNG/Examples/Documents/torture_test.xml ven. janv. 17 18:54:49 2014 +0100 @@ -612,7 +612,7 @@ </thead> <tbody> <tr> - <td colspan="3">Chavenay</td><td> </td><td> </td> + <td colspan="3" type="step">Chavenay</td><td> </td><td> </td> <td>Tour : 129,525</td> <td> </td><td> </td><td> </td> </tr> @@ -621,7 +621,7 @@ <td> </td><td> </td><td>max : 2000</td><td> </td> </tr> <tr> - <td colspan="3">Étangs de Hollande</td><td> </td><td> </td> + <td colspan="3" type="step">Étangs de Hollande</td><td> </td><td> </td> <td> </td><td> </td><td> </td><td> </td> </tr> <tr align="center"> @@ -629,7 +629,7 @@ <td> </td><td> </td><td>max : 2500</td><td> </td> </tr> <tr> - <td colspan="3">Étampes</td><td> </td><td> </td> + <td colspan="3" type="step">Étampes</td><td> </td><td> </td> <td><p>Tour : 119,05</p></td> <td> </td><td> </td><td> </td> </tr> diff -r a105fb2f8623 -r 2ba15c322900 RelaxNG/publidoc.rnc --- a/RelaxNG/publidoc.rnc ven. janv. 17 11:49:13 2014 +0100 +++ b/RelaxNG/publidoc.rnc ven. janv. 17 18:54:49 2014 +0100 @@ -325,8 +325,10 @@ & valign.attribute? & colspan.attribute? & rowspan.attribute? + & td.type.attribute? colspan.attribute = attribute colspan { xsd:positiveInteger } rowspan.attribute = attribute rowspan { xsd:positiveInteger } +td.type.attribute = attribute type { xsd:NCName } td.content = inlines