| FlexDoc/XML XSDDoc Demo | XML Schema for XSLT 2.0 & XSD 1.0

Overview All Components NS-Bindings | FRAMES NO FRAMES | SEARCH |

element <xs:element> (type xs:localElement)

Namespace: | http://www.w3.org/2001/XMLSchema
Type: | xs:localElement
Content: | complex, 11 attributes, attr. wildcard, 6 elements
Block: | "#all" (blocks all substitutions of this element or its type)
Defined: | locally at 2 locations in XMLSchema.xsd

Component Diagram

XML Representation Summary
<xs:element
id | = | xs:ID
name | = | xs:NCName
ref | = | xs:QName
type | = | xs:QName
minOccurs | = | xs:nonNegativeInteger : "1"
maxOccurs | = | (xs:nonNegativeInteger | "unbounded") : "1"
default | = | xs:string
fixed | = | xs:string
nillable | = | xs:boolean : "false"
block | = | ("#all" | list of ("extension" | "restriction" | "substitution"))
form | = | ("qualified" | "unqualified")
| {any attribute from non-schema namespace}
| >
Content: | xs:annotation?, (xs:simpleType | xs:complexType)?, (xs:unique | xs:key | xs:keyref)*
</xs:element>

Attributes:

Attribute | Type / Value | Default | Required? | Declared In | Description
id | xs:ID |  | no | xs:annotated |
name | xs:NCName |  | no | xs:defRef |
ref | xs:QName |  | no | xs:defRef |
type | xs:QName |  | no | xs:element |
minOccurs | xs:nonNegativeInteger | 1 | no | xs:occurs |
maxOccurs | xs:allNNI : (xs:nonNegativeInteger | "unbounded") | 1 | no | xs:occurs |
default | xs:string |  | no | xs:element |
fixed | xs:string |  | no | xs:element |
nillable | xs:boolean | "false" | no | xs:element |
block | xs:blockSet : ("#all" | list of ("extension" | "restriction" | "substitution")) |  | no | xs:element |
form | xs:formChoice : ("qualified" | "unqualified") |  | no | xs:element |
{any attribute} | from non-schema namespace |  | no | xs:localElement |

Content Element Model:

Component | Type / Value | Occurs | Nillable? | Declared In | Description
SEQUENCE |  | 1..1 |  | xs:localElement |
xs:annotation | anonymous | 0..1 | no | xs:localElement | See: http://www.w3.org/TR/xmlschema-1/#element-annotation
CHOICE |  | 0..1 |  | xs:localElement |
xs:simpleType | xs:localSimpleType | 1..1 | no | xs:localElement |
xs:complexType | xs:localComplexType | 1..1 | no | xs:localElement |
CHOICE |  | 0..∞ |  | xs:identityConstraint |
xs:unique | xs:keybase | 1..1 | no | xs:identityConstraint | See: http://www.w3.org/TR/xmlschema-1/#element-unique
xs:key | xs:keybase | 1..1 | no | xs:identityConstraint | See: http://www.w3.org/TR/xmlschema-1/#element-key
xs:keyref | anonymous | 1..1 | no | xs:identityConstraint | See: http://www.w3.org/TR/xmlschema-1/#element-keyref

Related Components

- Included in content model of elements (4):

  xs:choice, xs:choice (in xs:group), | xs:sequence, xs:sequence (in xs:group)

Definition Locations

- Within model groups (2):
  xs:nestedParticle [def], xs:particle [def]

Overview All Components NS-Bindings | FRAMES NO FRAMES | SEARCH |

XML schema documentation generated with FlexDoc/XML 1.15 using FlexDoc/XML XSDDoc 3.5 template set. All XSD diagrams generated by FlexDoc/XML DiagramKit.