Permalink
Browse files

Attempt to implement the whole proposal for accessability attributes …

…in CALS tables
  • Loading branch information...
ndw committed Nov 14, 2012
1 parent 81b006d commit 1d251b18cc4d1ab6bc57b3a17640ae926497dafd
Showing with 14 additions and 0 deletions.
  1. +14 −0 relaxng/schemas/docbook/calstbl.rnc
@@ -147,6 +147,8 @@ db.rowheader.attribute =
attribute rowheader {
## Indicates that entries in the first column of the table are functionally row headers (analogous to the way that a thead provides column headers).
"firstcol"
## Indicates that row headers are identified by use of the headers attribute on entries in the table.
"headers"
| ## Indicates that entries in the first column have no special significance with respect to column headers.
"norowheader" }
@@ -300,6 +302,7 @@ div {
& db.colname.attribute?
& db.rowsep.attribute?
& db.align.attribute?
& db.rowheader.attribute?
db.colspec =
element colspec {
@@ -480,8 +483,18 @@ div {
"row"
| ## Applies to the column
"col"
## Applies to the row group
"rowgroup"
| ## Applies to the column group
"colgroup"
}
db.entry.headers.attribute =
[
db:refpurpose [ "Specifies the entry or entries which serve as headers for this element." ]
]
attribute headers { xs:IDREFS }
db.entry.attlist =
db.entry.role.attribute?
& db.common.attributes
@@ -496,6 +509,7 @@ div {
& db.entry.rotate.attribute?
& db.align.attribute?
& db.entry.scope.attribute?
& db.entry.headers.attribute?
db.entry = element entry {
db.entry.attlist,

0 comments on commit 1d251b1

Please sign in to comment.