xs:localElement

Complex Type Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
block xs:blockSet optional
default xs:string optional
fixed xs:string optional
form xs:formChoice optional
id xs:ID optional
maxOccurs xs:allNNI 1 optional
minOccurs xs:nonNegativeInteger 1 optional
name xs:NCName optional
nillable xs:boolean optional
ref xs:QName optional
targetNamespace xs:anyURI optional
type xs:QName optional
Wildcard: ANY attribute from ANY namespace OTHER than 'http://www.w3.org/2001/XMLSchema'

Used By

Source

<xs:complexType name="localElement">
  <xs:complexContent>
    <xs:restriction base="xs:element">
      <xs:sequence>
        <xs:element ref="xs:annotation" minOccurs="0"/>
        <xs:choice minOccurs="0">
          <xs:element name="simpleType" type="xs:localSimpleType"/>
          <xs:element name="complexType" type="xs:localComplexType"/>
        </xs:choice>
        <xs:element name="alternative" type="xs:altType" minOccurs="0" maxOccurs="unbounded"/>
        <xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/>
      </xs:sequence>
      <xs:attribute name="substitutionGroup" use="prohibited"/>
      <xs:attribute name="final" use="prohibited"/>
      <xs:attribute name="abstract" use="prohibited"/>
      <xs:anyAttribute namespace="##other" processContents="lax"/>
    </xs:restriction>
  </xs:complexContent>
</xs:complexType>