/usr/share/xml/xhtml-relaxng/modules/basic-table.rng is in xhtml-relaxng 20091111-4ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 | <?xml version="1.0" encoding="iso-8859-1"?>
<!-- Basic Tables Module -->
<grammar xmlns="http://relaxng.org/ns/structure/1.0">
<define name="table">
<element name="table">
<ref name="table.attlist"/>
<optional>
<ref name="caption"/>
</optional>
<oneOrMore>
<ref name="tr"/>
</oneOrMore>
</element>
</define>
<define name="table.attlist">
<ref name="Common.attrib"/>
<optional>
<attribute name="summary">
<ref name="Text.datatype"/>
</attribute>
</optional>
</define>
<define name="caption">
<element name="caption">
<ref name="caption.attlist"/>
<ref name="Inline.model"/>
</element>
</define>
<define name="caption.attlist">
<ref name="Common.attrib"/>
</define>
<define name="tr">
<element name="tr">
<ref name="tr.attlist"/>
<oneOrMore>
<choice>
<ref name="th"/>
<ref name="td"/>
</choice>
</oneOrMore>
</element>
</define>
<define name="tr.attlist">
<ref name="Common.attrib"/>
<ref name="CellHAlign.attrib"/>
<ref name="CellVAlign.attrib"/>
</define>
<define name="th">
<element name="th">
<ref name="th.attlist"/>
<ref name="Flow.model"/>
</element>
</define>
<define name="th.attlist">
<ref name="Cell.attrib"/>
</define>
<define name="td">
<element name="td">
<ref name="td.attlist"/>
<ref name="Flow.model"/>
</element>
</define>
<define name="td.attlist">
<ref name="Cell.attrib"/>
</define>
<define name="Cell.attrib">
<ref name="Common.attrib"/>
<optional>
<attribute name="abbr">
<ref name="Text.datatype"/>
</attribute>
</optional>
<optional>
<attribute name="axis"/>
</optional>
<optional>
<attribute name="headers">
<ref name="IDREFS.datatype"/>
</attribute>
</optional>
<ref name="scope.attrib"/>
<optional>
<attribute name="rowspan">
<ref name="Number.datatype"/>
</attribute>
</optional>
<optional>
<attribute name="colspan">
<ref name="Number.datatype"/>
</attribute>
</optional>
<ref name="CellHAlign.attrib"/>
<ref name="CellVAlign.attrib"/>
</define>
<define name="CellHAlign.attrib">
<optional>
<attribute name="align">
<choice>
<value>left</value>
<value>center</value>
<value>right</value>
</choice>
</attribute>
</optional>
</define>
<define name="CellVAlign.attrib">
<optional>
<attribute name="valign">
<choice>
<value>top</value>
<value>middle</value>
<value>bottom</value>
</choice>
</attribute>
</optional>
</define>
<define name="scope.attrib">
<optional>
<attribute name="scope">
<choice>
<value>row</value>
<value>col</value>
</choice>
</attribute>
</optional>
</define>
<define name="Block.class" combine="choice">
<ref name="table"/>
</define>
</grammar>
|