XMLC Metadata - Document Elements



Warning: The functionality described in this page is not currently implemented.


<document>

Warning: Not currently implemented.

Section that describes the structure of the document and attributes of the elements. This information is used to validate a document and to control code generate on specific elements in the document.

Context:

Content:

<elementDef>

Warning: Not currently implemented.

Define a particular element in the document. An <elementDef> uniquely address a particular element in the document. This is done with by specifying the element's id in the elementIdattribute. In HTML, this is the ID attribute of addressed element. In XML, this is the attribute that is defined to be of type ID (usually named id by convention).

The nesting of element definitions places constraints on the location of an element in the document. A <elementDef> directly contained in the <document> section indicates that the element can occur anywhere in the document. An <elementDef> contained in another <elementDef> indicates that that element must be a descendent of the containing element. However, it does not have to be a direct descendent; they maybe intervening elements and the constraint still be satisfied.

Attributes:

Context: Content:

<tagClass/>

Warning: Not currently implemented.

Defines the attribute name that is to considered as the class attribute. This is used for XML, and is analogous to the HTML CLASS attribute. The class attributes value is a white-spaces separate list of class names. If a particular tag name is not specified, then the attribute name is used for all tags that don't have an explicitly defined class attribute. A tag may have only one class attribute. The attribute must be defined as type Nmtokens.

Attributes:

Context: