xsd:extension
Element information
Namespace: http://www.w3.org/2001/XMLSchema
Schema document: xmlschema.xsd
Other elements with the same name: xsd:extension
Type: xsd:extensionType
Properties: Local, Qualified
Content
- Sequence [1..1]
- xsd:annotation [0..1]
- Choice [0..1]
- xsd:group
- xsd:all An "all" group that allows elements to appear in any order. Unlike other group types, does not allow other groups as children, only elements.
- xsd:choice
- xsd:sequence
- Choice [0..*]
- xsd:anyAttribute [0..1]
from type xsd:annotatedfrom group xsd:typeDefParticlefrom group xsd:attrDecls
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
Any attribute | [0..*] | Namespace: ##other, Process Contents: lax | from type xsd:openAttrs | |
id | [0..1] | xsd:ID | from type xsd:annotated | |
base | [1..1] | xsd:QName |
Used in
- Anonymous type of element xsd:complexContent
Sample instance
<xsd:extension base="QName"> <xsd:group ref="QName"> </xsd:group> <xsd:attribute> <xsd:simpleType> <xsd:restriction>... </xsd:restriction> </xsd:simpleType> </xsd:attribute> <xsd:anyAttribute> </xsd:anyAttribute> </xsd:extension>