x:col

Parent elements

x:colgroup, x:table

Child elements

None: this element must be empty.

Description

Specifies some formatting attributes of a column in a x: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.

Amendments

Example in the eAIP Specimenn/a
How to insert or delete the elementCan be amended freely (not relevant to Amendment).
How to change the whole element (insert and delete)Can be amended freely (not relevant to Amendment).
How to change this element's attributesCan be amended freely (not relevant to Amendment).
How to change this element's contentNot applicable.
Additional commentsTo insert or delete a whole column, each cell (td and th) in that column has to be marked as deleted, and the corresponding x:col element must simply be inserted or deleted. If there is any column or row spanning involving that column, the colspan and row

Attributes

alignOptionalChoice: left, center, right, justify, char

Horizontal alignment of cell contents. This attribute should be avoided in favour of a style class, as it gives more control on cells formatting.

The actual alignment of a cell is the first found in the order of precedence: td/th, x:col, x:colgroup, x:tr, x:thead/x:tfoot/x:tbody. The default is "left" for td and "center" for th. Note: x:table is not part of the order of precedence, as opposed to HTML 4.01. See also the W3C's HTML 4.01 specification of align.

charOptionalType: text

Character on which horizontal alignment of cell contents is applied. This attribute should be avoided in favour of a style class, as it gives more control on cells formatting.

Most browsers do not support this attribute as of September 2002. See also the W3C's HTML 4.01 specification of char.

charoffOptionalType: text

See the W3C's HTML 4.01 specification of charoff. This attribute should be avoided in favour of a style class, as it gives more control on cells formatting.

Most browsers do not support this attribute as of September 2002.

classOptionalType: 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.

idOptionalType: 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.

spanOptionalType: text
Default: 1
 
titleOptionalType: 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.

valignOptionalChoice: top, middle, bottom, baseline

Vertical alignment of cell contents. This attribute should be avoided in favour of a style class, as it gives more control on cells formatting.

The actual alignment of a cell is the first found in the order of precedence: td/th, x:tr, x:thead/x:tfoot/x:tbody, x:col, x:colgroup. The default is "middle" for both td and th. Note: x:table is not part of the order of precedence, as opposed to HTML 4.01. See also the W3C's HTML 4.01 specification of valign.

widthOptionalType: text

Column width.

xml:langOptionalType: 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:eFixedhttp://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:xFixedhttp://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:xlinkFixedhttp://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.