Documentation for W3C XML Schema Definition Language
Definition Type:
Element
Name:
restriction
Namespace:
http://www.w3.org/2001/XMLSchema
Type:
xs
:
complexRestrictionType
Containing Schema:
XMLSchema.xsd
MinOccurs
(1)
MaxOccurs
(1)
Abstract
XSD Schema Diagram:
XSD Schema Code:
<xs:element name="restriction" type="xs:complexRestrictionType" />
Child Elements:
Name
Type
Min Occurs
Max Occurs
annotation
xs
:
annotation
0
(1)
group
xs
:
group
(1)
(1)
all
xs
:
all
(1)
(1)
choice
xs
:
choice
(1)
(1)
sequence
xs
:
sequence
(1)
(1)
simpleType
xs
:
simpleType
0
(1)
minExclusive
xs
:
minExclusive
(1)
(1)
minInclusive
xs
:
minInclusive
(1)
(1)
maxExclusive
xs
:
maxExclusive
(1)
(1)
maxInclusive
xs
:
maxInclusive
(1)
(1)
totalDigits
xs
:
totalDigits
(1)
(1)
fractionDigits
xs
:
fractionDigits
(1)
(1)
length
xs
:
length
(1)
(1)
minLength
xs
:
minLength
(1)
(1)
maxLength
xs
:
maxLength
(1)
(1)
enumeration
xs
:
enumeration
(1)
(1)
whiteSpace
xs
:
whiteSpace
(1)
(1)
pattern
xs
:
pattern
(1)
(1)
attribute
xs
:
attribute
(1)
(1)
attributeGroup
xs
:
attributeGroup
(1)
(1)
anyAttribute
xs
:
anyAttribute
0
(1)
annotation
xs
:
annotation
0
(1)
<xs:group>
xs
:
typeDefParticle
(1)
(1)
<xs:group>
xs
:
simpleRestrictionModel
(1)
(1)
<xs:group>
xs
:
facets
0
unbounded
<xs:group>
xs
:
attrDecls
(1)
(1)
<xs:group>
xs
:
typeDefParticle
(1)
(1)
<xs:group>
xs
:
attrDecls
(1)
(1)
Child Attributes:
Name
Type
Default Value
Use
id
xs
:
id
(Optional)
base
xs
:
base
Required
<anyAttribute>
<anyAttribute>
Allowed namespace: '##other'
<anyAttribute>
Allowed namespace: '##other'
Derivation Tree:
xs
:
openAttrs
xs
:
annotated
xs
:
restrictionType
xs
:
complexRestrictionType
restriction