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

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

complexType "xs:localElement"

Namespace: | http://www.w3.org/2001/XMLSchema
Derived By: | restriction of xs:element
Content: | complex, 11 attributes, attr. wildcard, 6 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 attr. wildcard, 3 elements; 3 attr. prohibitions
Referenced: | by 3 locations

Component Diagram

XML Representation Summary
<...
id | = | xs:ID
name | = | xs:NCName
ref | = | xs:QName
type | = | xs:QName
minOccurs | = | xs:nonNegativeInteger : "1"
maxOccurs | = | (xs:nonNegativeInteger | "unbounded") : "1"
default | = | xs:string
fixed | = | xs:string
nillable | = | xs:boolean : "false"
block | = | ("#all" | list of ("extension" | "restriction" | "substitution"))
form | = | ("qualified" | "unqualified")
| {any attribute from non-schema namespace}
| >
Content: | xs:annotation?, (xs:simpleType | xs:complexType)?, (xs:unique | xs:key | xs:keyref)*
</...>

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:element |
minOccurs | xs:nonNegativeInteger | 1 | no | xs:occurs |
maxOccurs | xs:allNNI : (xs:nonNegativeInteger | "unbounded") | 1 | no | xs:occurs |
default | xs:string |  | no | xs:element |
fixed | xs:string |  | no | xs:element |
nillable | xs:boolean | "false" | no | xs:element |
block | xs:blockSet : ("#all" | list of ("extension" | "restriction" | "substitution")) |  | no | xs:element |
form | xs:formChoice : ("qualified" | "unqualified") |  | no | xs:element |
{any attribute} | from non-schema namespace |  | no | this |

Content Element Model:

Component | Type / Value | Occurs | Nillable? | Declared In | Description
SEQUENCE |  | 1..1 |  | this |
xs:annotation | anonymous | 0..1 | no | this | See: http://www.w3.org/TR/xmlschema-1/#element-annotation
CHOICE |  | 0..1 |  | this |
xs:simpleType | xs:localSimpleType | 1..1 | no | this |
xs:complexType | xs:localComplexType | 1..1 | no | this |
CHOICE |  | 0..∞ |  | xs:identityConstraint |
xs:unique | xs:keybase | 1..1 | no | xs:identityConstraint | See: http://www.w3.org/TR/xmlschema-1/#element-unique
xs:key | xs:keybase | 1..1 | no | xs:identityConstraint | See: http://www.w3.org/TR/xmlschema-1/#element-key
xs:keyref | anonymous | 1..1 | no | xs:identityConstraint | See: http://www.w3.org/TR/xmlschema-1/#element-keyref

Related Components

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

  xs:element (type xs:localElement), | xs:element (type xs:narrowMaxMin)

Referenced By

- In derivations of types (1):
  xs:narrowMaxMin (as restriction base)
- As direct type of local elements (2):

  xs:element (defined in group xs:nestedParticle), | xs:element (defined in group xs:particle)

Type Definition Detail

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

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.