Previous Table of Contents Next


9.3.6 ElementType


   This represents an XML element type definition. In XML, each document contains one or more elements. The element structure may, for validation purposes, be constrained using element type and attribute declarations. An element type declaration constrains the element’s content.

   Superclasses

   Class

   Contained Elements

   Attribute

   References

   schema

Identifies the Schema that owns the ElementType.

class:

defined by:

multiplicity:

inverse:

Namespace
Namespace-ModelElement::namespace
zero or one
Schema::elementType

   attribute

Identifies the Attributes owned by the ElementType.

class:

defined by:

multiplicity:

inverse:

Feature
Classifier-Feature::feature
zero or more
Attribute::elementType

   content

Identifies the content of the ElementType.

class:

defined by:

multiplicity:

inverse:

Content
ElementTypeContent::content
zero or one
Content::elementType