Elements (XSM)

Elements are the basic building blocks of an XML model, which organizes them into a tree structure. Elements can contain other elements (via group particles) and attributes, and can reference groups, attribute groups and simple and complex types.

Elements can be either global or local:
Note: In a model targeted with the XML-Data Reduced language, local elements are first declared separately, like global elements (with the <ElementType> tag and a name attribute), then within their parent element (with the <element> tag and a type attribute). For example:

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).