xs:topLevelAttribute

Complex Type Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
default xs:string optional
fixed xs:string optional
id xs:ID optional
inheritable xs:boolean optional
name xs:NCName required
type xs:QName optional
Wildcard: ANY attribute from ANY namespace OTHER than 'http://www.w3.org/2001/XMLSchema'

Used By

Element xs:attribute

Source

<xs:complexType name="topLevelAttribute">
  <xs:complexContent>
    <xs:restriction base="xs:attribute">
      <xs:sequence>
        <xs:element ref="xs:annotation" minOccurs="0"/>
        <xs:element name="simpleType" type="xs:localSimpleType" minOccurs="0"/>
      </xs:sequence>
      <xs:attribute name="ref" use="prohibited"/>
      <xs:attribute name="form" use="prohibited"/>
      <xs:attribute name="use" use="prohibited"/>
      <xs:attribute name="targetNamespace" use="prohibited"/>
      <xs:attribute name="name" type="xs:NCName" use="required"/>
      <xs:attribute name="inheritable" type="xs:boolean"/>
      <xs:anyAttribute namespace="##other" processContents="lax"/>
    </xs:restriction>
  </xs:complexContent>
</xs:complexType>