Elements are the basic building blocks of an XML model.
An XML model is a tree structure of elements where child elements are attached to parent elements. For example:
Generated schema:
In a schema, elements are declared with <element> tags.
There are two broad kinds of elements:
Global elements - have no parent element in a diagram, and are directly linked to the <schema> tag (root element) in a schema. They can be reused in the model through referencing elements (see "XML_declaration" in the example)
Local elements - have a parent element in a diagram, and are unique within their parent scope. They can be defined by reference to a global element (see the Reference property in Element Properties).
Extract of an XDR file:
Parent elements are linked to their child elements through group particles (sequence, choice or all), which contain a group of child elements (see the Group type property in Element Properties).
You can derive an XSD element data type to extend or restrict its values (see the Derivation property in Element Properties).