xs:element

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
abstract xs:boolean false optional
block xs:blockSet optional
default xs:string optional
final xs:derivationSet optional
fixed xs:string optional
id xs:ID optional
name xs:NCName required
nillable xs:boolean optional
substitutionGroup xs:null optional
type xs:QName optional
Wildcard: ANY attribute from ANY namespace OTHER than 'http://www.w3.org/2001/XMLSchema'

Used By

Element Group xs:schemaTop

Source

<xs:element name="element" type="xs:topLevelElement" id="element">
  <xs:annotation>
    <xs:documentation source="../structures/structures.html#element-element"/>
  </xs:annotation>
</xs:element>

Sample