xsd:restriction
Element information
Namespace: http://www.w3.org/2001/XMLSchema
Schema document: XMLSchema.xsd
Other elements with the same name: xsd:restriction, xsd:restriction
Type: xsd:simpleRestrictionType
Properties: Local, Qualified
Content
- Sequence [1..1]
- xsd:annotation [0..1]
- xsd:simpleType [0..1]
- Choice [0..*]
- Any element Namespace: ##other, Process Contents: lax
from subst. group xsd:facet - Choice [0..*]
- xsd:anyAttribute [0..1]
- xsd:assert [0..*]
from group xsd:simpleRestrictionModelfrom group xsd:attrDeclsfrom group xsd:assertions
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
id | [0..1] | xsd:ID | from type xsd:annotated | |
base | [1..1] | xsd:QName | from type xsd:restrictionType | |
Any attribute | [0..*] | Namespace: ##other, Process Contents: lax |
Used in
- Anonymous type of element xsd:simpleContent
Sample instance
<xsd:restriction base="QName"> <xsd:simpleType> </xsd:simpleType> <xsd:minExclusive value="any text content"> </xsd:minExclusive> <xsd:attribute> <xsd:simpleType> </xsd:simpleType> </xsd:attribute> <xsd:anyAttribute> </xsd:anyAttribute> <xsd:assert> </xsd:assert> </xsd:restriction>