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

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

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

Namespace: | http://www.w3.org/2001/XMLSchema
Type: | xs:attribute
Content: | complex, 8 attributes, attr. wildcard, 2 elements
Block: | "#all" (blocks all substitutions of this element or its type)
Defined: | locally in group xs:attrDecls in XMLSchema.xsd; see XML source

Component Diagram

XML Representation Summary
<xs:attribute
id | = | xs:ID
name | = | xs:NCName
ref | = | xs:QName
type | = | xs:QName
use | = | ("prohibited" | "optional" | "required") : "optional"
default | = | xs:string
fixed | = | xs:string
form | = | ("qualified" | "unqualified")
| {any attribute from non-schema namespace}
| >
Content: | xs:annotation?, xs:simpleType?
</xs:attribute>

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:attribute |
use | anonymous : ("prohibited" | "optional" | "required") | "optional" | no | xs:attribute |
default | xs:string |  | no | xs:attribute |
fixed | xs:string |  | no | xs:attribute |
form | xs:formChoice : ("qualified" | "unqualified") |  | no | xs:attribute |
{any attribute} | from non-schema namespace |  | no | xs:openAttrs |

Content Element Model:

Component | Type / Value | Occurs | Nillable? | Declared In | Description
SEQUENCE |  | 1..1 |  |  |
xs:annotation | anonymous | 0..1 | no | xs:annotated | See: http://www.w3.org/TR/xmlschema-1/#element-annotation
xs:simpleType | xs:localSimpleType | 0..1 | no | xs:attribute |

Related Components

- Included in content model of elements (7):

  xs:attributeGroup, xs:complexType, xs:complexType (type xs:localComplexType), xs:extension (in xs:complexContent), | xs:extension (in xs:simpleContent), xs:restriction (in xs:complexContent), xs:restriction (in xs:simpleContent)

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.