All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xml.schema.z3998-book-1.0-latest.mod.z3998-table.rng Maven / Gradle / Ivy



    
        The table module 
        
            This module defines the table element and descendants for expressing tabular data and constructs. 
            The table element and its descendants inherit the semantics and behavior of the XHTML Modularization 1.1 tables module unless otherwise specified. 
            More information about this module is available at http://www.daisy.org/z3998/2012/auth/cm/#z3998.table.module
        
        
            Markus Gylling
            [email protected]
        
        
            2009
            2010
            2011
            2012
            DAISY Consortium
        
        
            This module is licensed under a Creative Commons Attribution 3.0 license, a copy of which is available at 
                http://creativecommons.org/licenses/by/3.0/
            
            For complete licensing information, please refer to the LICENSE file that came with this distribution, a copy of which is also available from the DAISY web site at 
                www.daisy.org
            
        
        
            
                2012-12-19
                MGy
                
                    Initial version
                
            
        
    
    
The table element represents a single instance of tabular data arranged in rows and columns. A table may consist of one or more tr elements or may be divided into table.thead , table.tbody and table.tfoot divisions. A table may contain one or more table.colgroup elements, for expressing common column formatting and properties.
The colgroup element allows a set of properties to be defined for the cells in one or more table columns. The colgroup can define a common set of properties for one or more columns using the table.span attribute, in which case it must be an empty element. To specify different properties for different columns, the colgroup must contain one or more table.col elements with the properties for those columns. A colgroup must not contain both a span attribute and child col elements. The span attribute specifies the number of columns the properties defined in a table.colgroup or table.col apply to. If a colgroup element contains child col elements, the span is determined automatically from the number of child col elements and any respective span values they define. If omitted, the implicit value 1 is assumed.
The col element allows a set of properties to be defined for the cells in one or more table columns. The optional table.span attribute indicates the number of adjoining columns to which the properties apply.
The thead element represents the collection of table header rows.
The tfoot element represents the collection of table footer rows. Note that contrary to the XHTML Modularization 1.1 tables module tfoot element , this element is placed following the tbody element.
The tbody element represents a collection of table body rows. Multiple tbody elements are allowed to enable representation of sections of rows.
The tr element represents a single table row of data.
The th element represents a single table cell containing header information. The optional table.scope attribute can be used to express the column(s) or row(s) to which the header applies. The abbr attribute specifies an abbreviated header value.
The td element represents a single table cell. The optional table.colspan and table.rowspan attributes can be used to specify that a column extends across or down more than one cell, respectively. The optional table.scope attribute can be used to express that the current cell represents a header for columns(s) or row(s) defined by the attribute's value.
Common attribute definitions The colspan attribute specifies the number of columns spanned by the current cell. The implicit value of this attribute is 1. The value 0 indicates that the cell spans all columns from the current column to the last column of the table.colgroup in which the cell is defined. The rowspan attribute specifies the number of rows spanned by the current cell. The implicit value of this attribute is 1. The value 0 indicates that the cell spans all rows from the current row to the last row of the current table section (rowgroup) in which the cell is defined (where the table.thead , table.tbody , and table.tfoot elements are considered rowgroups). The scope attribute specifies the set of data cells for which the current header cell provides header information. This attribute may be used in place of the table.headers attribute, especially for simple tables. row The current cell provides header information for the rest of the row that contains it. col The current cell provides header information for the rest of the column that contains it. rowgroup The header cell provides header information for the rest of the row group that contains it. colgroup The header cell provides header information for the rest of the column group that contains it. The headers attribute specifies the list of header cells that provide header information for the current data cell. This attribute requires a space separated list of valid ID references that resolves to th elements. The headers attribute must resolve to a th in the current table.
The table element - content model specialization interleave with table.extra interleave with table.extra a class to contribute elements inside and outside tr
The table element - minimal model
table - default content model contribution




© 2015 - 2025 Weber Informatics LLC | Privacy Policy