[previous: x:strong] [Index] [next: x:tbody] | Comments welcome: [email protected] |
Defines a table.
This is an XHTML element, derived from W3C's HTML 4.01 Recommendation. For more information, please refer to http://www.w3.org/TR/html401/index/elements.html.
Example in the eAIP Specimen | GEN-2.1.5, 2nd table |
---|---|
How to insert or delete the element | Use the Updated attribute. |
How to change the whole element (insert and delete) | Use the Updated attribute. |
How to change this element's attributes | Can be amended freely (not relevant to Amendment). |
How to change this element's content | May not be amended; see child elements. |
align | Optional | Choice: left, center, right | Sets the table alignment in relation to its container. This attribute should be avoided in favour of a style class, as it gives more control on borders. However, a bug in Internet Explorer 5.5 and below makes it unavoidable sometimes. Note: this attribute has no influence on the cells contents alignement. See x:td for that. |
---|---|---|---|
border | Optional | Type: text | Sets the table border width, in pixels. This attribute should be avoided in favour of a style class, as it gives more control on borders. |
cellpadding | Optional | Type: text | Set the padding for each cell. This attribute should be avoided in favour of a style class, as it gives more control on cell formatting. |
cellspacing | Optional | Type: text | Set the distance in pixels between cells. This attribute should theoretically be avoided in favour of a style class, but currently (September 2002), most browsers do not have any other mean to control this formatting property. |
class | Optional | Type: space-separated XML name tokens | Style class selector. Any valid class name can be input here, as it depends on the set of style sheets you have developed (for HTML classes implementation, see html/eAIP.css in the eAIP Specimen). Several classes can be specified using a space as separator. Note that class names are the same for both HTML and XSL-FO. |
frame | Optional | Choice: void, above, below, hsides, lhs, rhs, vsides, box, border | Defines which table borders should be visible. This attribute should be avoided in favour of a style class, as it gives more control on borders. |
id | Optional | Type: unique ID | Identifier for the element. This must be unique for within an eAIP, which is enforced at validation. The id value can then be used for reference from other elements, as it is the case with the Ref attribute of an e:Abbreviation. |
Remarks | Optional | Type: text | Any short remark related to the element. This attribute may be useful for editing purpose. It should not be used for publishing, as it is currently not used by the supplied style sheets. |
rules | Optional | Choice: none, groups, rows, cols, all | Defines which cell borders should be visible. This attribute should be avoided in favour of a style class, as it gives more control on borders. |
summary | Optional | Type: text | |
title | Optional | Type: text | This attribute allows to provide some more information about the element. It is not always used: check with the style sheets. When it is used in HTML, elements will have their title attribute displayed as a pop-up when the mouse is left over them for a while, much like Abbreviations. It is not yet used in XSL-FO. |
Updated | Optional | Choice: Inserted, Deleted, No Default: No | Amendment: Indicates if the element has been updated since the previous AIP issue and how.
If only parts of the element are amended, then these parts (i.e. child elements) must be marked as such, not the parent element. When an element is changed, editors must duplicate the element and mark one copy as "Inserted" and the other as "Deleted". |
Updated-ref | Optional | Type: ID reference | Reference to the id of an e:Amendment by which the current element is changed. This attribute is relevant only if the Updated attribute is set. |
width | Optional | Type: text | Sets the table width. |
xml:lang | Optional | Type: XML name token | This is a standard XML attribute, which specifies the language in which the element's content is expressed. The value must be a valid ISO-639 (and ISO-3166, additionally) language code, such as "en" for English, "fr" for French and "de-CH" for Swiss German. When used on the root element, this attribute sets the default language for the entire eAIP. On any other element, it overrides the default (or the parent) language, so that the element can be presented differently (using appropriate XSLT code) or in order to apply selective process to it, such as spell-checking in the right language. |
xmlns:e | Fixed | http://www.eurocontrol.int/xmlns/AIM/eAIP | This namespace node defines the "e" namespace, which groups all eAIP specific elements. For more information, refer to the W3C's document Namespaces in XML. This node is implied: it does not need to be set explicitly (except on e:eAIP), but can be if needed. |
xmlns:x | Fixed | http://www.w3.org/1999/xhtml | This namespace node defines the "x" namespace, which groups all XHTML elements. This node is implied: it does not need to be set explicitly (except on e:eAIP), but can be if needed. |
xmlns:xlink | Fixed | http://www.w3.org/1999/xlink | This namespace node defines the "xlink" namespace. This node is implied: it does not need to be set explicitly (except on e:eAIP), but can be if needed. |
Copyright © 2000-2002 EUROCONTROL, all rights reserved.
This work is subject to the license provided in the file LICENSE.txt.