Previous Table of Contents Next


9.3.5 ElementContent


   This represents an element content that contains only ElementTypeReferences. In XML, an element type has element content when elements of that type must contain only child elements (no character data), optionally separated by white space. In this case, the constraint includes a content model that governs the allowed types of the child elements and the order in which they are allowed to appear.

   Superclasses

   Content

   Attributes

   order

Identifies the order type of the element content.

type:

multiplicity:

ElementOrderType (xml_choice | xml_sequence)
exactly one

   References

   ownedContent

Identifies the content owned by the ElementContent.

class:

defined by:

multiplicity:

inverse:

ElementContent
OwnedElementContent::ownedContent
zero or more
ElementContent::ownerContent

   ownerContent

Identifies the content that owns the ElementContent.

class:

defined by:

multiplicity:

inverse:

ElementContent
OwnedElementContent::ownerContent
zero or more
ElementContent::ownerElement

   Constraints

   An ElementContent may not be its own owner content or owned content, transitive closure.