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

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

complexType "xs:attribute"

Namespace: | http://www.w3.org/2001/XMLSchema
Derived By: | extension of xs:annotated
Content: | complex, 8 attributes, attr. wildcard, 2 elements
Block: | "#all" (blocks all substitutions of this complex type through xsi:type attribute in instance XML documents)
Defined: | globally in XMLSchema.xsd; see XML source
Includes: | declarations of 5 attributes, 1 element
Referenced: | by 2 locations

Component Diagram

XML Representation Summary
<...
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?
</...>

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 | this |
use | anonymous : ("prohibited" | "optional" | "required") | "optional" | no | this |
default | xs:string |  | no | this |
fixed | xs:string |  | no | this |
form | xs:formChoice : ("qualified" | "unqualified") |  | no | this |
{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 | this |

Related Components

- Known Direct Subtypes (1):
  xs:topLevelAttribute
- All Direct / Indirect Based Elements (2):

  xs:attribute, | xs:attribute (type xs:attribute)

Referenced By

- In derivations of types (1):
  xs:topLevelAttribute (as restriction base)
- As direct type of local elements (1):
  xs:attribute (defined in group xs:attrDecls)

Type Definition Detail

Type Derivation Tree xs:anyType (restriction) xs:openAttrs (extension) xs:annotated (extension) xs:attribute

Attribute Details (only local attributes with anonymous type; defined in this component only; 1/9)
use

Type: | anonymous simpleType (restriction of xs:NMTOKEN)
Default: | "optional"
Use: | optional
Defined: | locally in (this) complexType xs:attribute; see XML source

Attribute Value Detail

enumeration of xs:NMTOKEN : "optional"

Values (3): | "prohibited", "optional", "required"

Anonymous simpleType

Type Derivation Tree xs:anySimpleType (restriction) xs:string (restriction) xs:normalizedString (restriction) xs:token (restriction) xs:NMTOKEN (restriction) simpleType

Derivation: | restriction of xs:NMTOKEN
Facets: |
enumeration (3): | "prohibited", "optional", "required"

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.