Schema Central > XML Schema 1.1 > XMLSchema.xsd > xsd:attribute
Advanced search
Need Schema Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

xsd:attribute

Element information

Namespace: http://www.w3.org/2001/XMLSchema

Schema document: XMLSchema.xsd

Other elements with the same name: xsd:attribute

Type: xsd:attribute

Properties: Local, Qualified

Content

Attributes

NameOccTypeDescriptionNotes
Any attribute[0..*]Namespace: ##other, Process Contents: laxfrom type xsd:openAttrs
id [0..1]xsd:IDfrom type xsd:annotated
name [0..1]xsd:NCNamefrom group xsd:defRef
ref [0..1]xsd:QNamefrom group xsd:defRef
type [0..1]xsd:QName
use [0..1]AnonymousDefault value is "optional".
default [0..1]xsd:string
fixed [0..1]xsd:string
form [0..1]xsd:formChoice
targetNamespace [0..1]xsd:anyURI
inheritable [0..1]xsd:boolean

Used in

Sample instance

<xsd:attribute>
   <xsd:simpleType>
      <xsd:restriction base="QName">
         <xsd:simpleType>...
         </xsd:simpleType>
         <xsd:minExclusive value="any text content">...
         </xsd:minExclusive>
      </xsd:restriction>
   </xsd:simpleType>
</xsd:attribute>