ZVON > References > XML Schema 2001 Reference
index | Schema | >> DTD <<

Element: restriction
Attributes: | base | id |
Parents: | complexContent | simpleContent | simpleType |
Children: | all | annotation | anyAttribute | attribute | attributeGroup | choice | enumeration | fractionDigits | group | length | maxExclusive | maxInclusive | maxLength | minExclusive | minInclusive | minLength | pattern | sequence | simpleType | totalDigits | whiteSpace |

Occurs in Schema Tutorial examples:
Empty element
Multiple restrictions
Element is either a fixed string or an integer
Element can contain a string from an enumerated set
Attribute contains a list of values
Element contains a list of values
Definition of a custom simpleType - temperature must be greater than -273.15
Limiting string length
Limiting the number of decimal places
Limiting both the number of decimal places and total places
String must contain e-mail address
Element contains date
Element represents time duration
definition of a simpleType, target namespace is null
definition of a simpleType, target namespace is not null
Element and type have the same name
Error - simpleType and complexType have the same name
XML Schema - finalDefault attribute
Redefine element
Abstract element, substitutionGroup
Attribute block
Attribute block set to "restriction"
XML Schema - blockDefault attribute
Combining block and blockDefault attributes
Restriction of a sequence
Restriction of a choice
Error in restriction - namespaces in wildcards
"Sequence" from "all"
"Sequence" from "choice"
Element from any