[previous: x:colgroup] [Index] [next: x:em] | Comments welcome: [email protected] |
A structural division of the content mainly for content management systems and styling purpose. A div can be used to group several block elements, inline elements and text into a structural unit, for example to apply the same style class to all of them, or to identify them as a group with an id attribute on the div element. See also x:span.
A x:p should be preferred to denote a paragraph, except if the paragraph must be numbered. This can solve some numbering issues (for example, see the Specimen eAIP, GEN-1.4.1.1).
A e:Sub-section should be preferred to mark logical division of the content. Note that a div may not contain any e:Title and does not have a Toc attribute, which differentiates it from a e:Sub-section.
Note: the auto-numbering algorithm will incorrectly consider elements marked as deleted (as part of an Amendment) to number the elements. To avoid this, set the "Number" attribute to a fixed value (i.e., the value of the corresponding inserted element), or suppress numbering completely for the deleted element.
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-1.2.1.2, GEN-1.2.1.3 |
---|---|
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 | Depending on the attribute, you may need to change the element itself (see comments). |
How to change this element's content | Use Inserted and/or Deleted elements. |
Additional comments | Attribute: only Number is concerned; others are free |
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. |
---|---|---|---|
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. |
Number | Optional | Type: text | Indicates how numbering should take place.
|
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. |
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. |
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.