{{ 'Global element' if item_kind == 'element' else ('Complex type' if item.kind == 'complexType' else 'Simple type') }}{% if item.abstract %} abstract{% endif %}
{{ item.name }}
{% if item.qualified_name != item.name %}{{ item.qualified_name }}
Defined in {{ item.source_path }}{% if item.source_line %}:{{ item.source_line }}{% endif %}
Transmodel concept {% if item.transmodel_href.startswith('http') %}{% else %}{% endif %}{{ item.transmodel_concept }}
{% endif %} {% if item.documentation %}No documentation provided.
{% endif %} {% if item_kind == 'element' and item.type_name %}Type
{% if item.type_href %}{{ item.type_name }}{% else %}{{ item.type_name }}{% endif %}
Base type
{% if item.base_type_href %}{{ item.base_type_name }}{% else %}{{ item.base_type_name }}{% endif %}
Restrictions
-
{% for label, value in item.restrictions %}
- {{ label }}
{{ value }}
{% endfor %}
Item type
This is a list type; each value is a whitespace-separated sequence of items of type {% if item.item_type_href %}{{ item.item_type_name }}{% else %}{{ item.item_type_name }}{% endif %}.
Member types
This is a union type; a value must match one of the following types.
-
{% for member_name, member_href in item.member_types %}
- {% if member_href %}
{{ member_name }}{% else %}{{ member_name }}{% endif %}
{% endfor %}
Direct substitution members
{{ related.name }}{% if related.abstract %} abstract{% endif %}Concrete substitution alternatives
Elements that can actually appear in an instance document wherever this element's substitution group is accepted, gathered from the full substitution-group chain below it.
Allowed values
{{ value }}
{{ source_icon(item.enumeration_source_paths[loop.index0], item.enumeration_source_lines[loop.index0]) }}
{% if item.enumeration_docs[loop.index0] %}
Used by elements
{{ related.name }}{% if related.abstract %} abstract{% endif %}Derived types
{{ related.name }}{% if related.abstract %} abstract{% endif %}Examples
Used in {{ example_usages|length }} example{{ 's' if example_usages|length != 1 }}; each link goes to the first occurrence
-
{% for usage in example_usages %}
{{ usage.example.path }}{% if usage.count > 1 %} {{ usage.count }} occurrences{% endif %}
{% endfor %}
Referential integrity
Identity constraints
| Constraint | Selector | Fields | Refers to | Source |
|---|---|---|---|---|
|
{{ constraint.kind }}
{% if constraint.documentation %}{{ constraint.name }}
{{ constraint.documentation }} {% endif %}
|
{{ constraint.selector }} |
{% for field_path in constraint.fields %}{{ field_path }}{% if not loop.last %}{% endif %}{% endfor %} |
{% if constraint.refer_name %}{% if constraint.refer_href %}{{ constraint.refer_name }}{% else %}{{ constraint.refer_name }}{% endif %}{% else %}—{% endif %} |
{{ source_icon(constraint.source_path, constraint.source_line) }} |
Content model
{{ 'Element structure' if item_kind == 'element' else 'Type structure' }}
| Attribute | Type | Use | Documentation | {% if show_origin %}Inherited from | {% endif %}Source |
|---|---|---|---|---|---|
{{ attribute.name }}{% if attribute.qualified_name != attribute.name %}{{ attribute.qualified_name }} {% endif %} |
{% if attribute.type_href %}{{ attribute.type_name }}{% elif attribute.type_name %}{{ attribute.type_name }}{% else %}—{% endif %} |
{{ attribute.use }}{% if attribute.default %} default: {% endif %}{% if attribute.fixed %}{{ attribute.default }}fixed: {% endif %}{{ attribute.fixed }} |
{% if attribute.documentation %} {{ attribute.documentation }} {% else %}—{% endif %} |
{% if show_origin %}{% if attribute.inherited_from_href %}{{ attribute.inherited_from }}{% else %}{{ attribute.inherited_from }}{% endif %} | {% endif %}
{{ source_icon(attribute.source_path, attribute.source_line) }} |
Properties