Global element declaration. This element in isolation does not know if the element declaration is a concept declaration, because it does not know from which substitution groups its own substitution group, if any, derives.
Global element declaration. This element in isolation does not know if the element declaration is a concept declaration, because it does not know from which substitution groups its own substitution group, if any, derives.
Example, assuming an xs:schema parent (and document root) element:
<xs:element
id="businessSegments"
name="BusinessSegments"
type="xbrli:monetaryItemType"
substitutionGroup="xbrli:item"
xbrli:periodType="duration" />
In this case, we see immediately that the global element declaration is an item concept declaration, but as said above, in general we cannot determine this without looking at the context of all other taxonomy documents in the same "taxonomy".
Once we have a SubstitutionGroupMap
as context, we can turn the global element declaration into a ConceptDeclaration
,
if the global element declaration is indeed an item or tuple declaration according to the SubstitutionGroupMap
.
The "other child elements" passed below, if any, are xs:unique, xs:key and xs:keyref elements.
- Companion
- object
Type members
Inherited types
Value members
Concrete methods
Returns all own or transitively inherited substitution groups. The given mappings are used as the necessary context.
Returns all own or transitively inherited substitution groups. The given mappings are used as the necessary context.
This method may fail with an exception if the taxonomy is not schema-valid.
Returns true if this global element declaration has the given substitution group, either directly or indirectly. The given mappings are used as the necessary context, but are not needed if the element declaration directly has the substitution group itself.
Returns true if this global element declaration has the given substitution group, either directly or indirectly. The given mappings are used as the necessary context, but are not needed if the element declaration directly has the substitution group itself.
This method may fail with an exception if the taxonomy is not schema-valid.
Returns the "target EName". That is, returns the EName composed of the optional target namespace and the name attribute as local part. This may fail with an exception if the taxonomy is not schema-valid, although such a failure is very unlikely.
Returns the "target EName". That is, returns the EName composed of the optional target namespace and the name attribute as local part. This may fail with an exception if the taxonomy is not schema-valid, although such a failure is very unlikely.
Inherited methods
- Inherited from
- SubtypeAwareElemLike