xsd:unique
Element information
Namespace: http://www.w3.org/2001/XMLSchema
Schema document: xmlschema.xsd
Type: xsd:keybase
Properties: Global, Qualified
Content
- Sequence [1..1]
- xsd:annotation [0..1]
- xsd:selector [1..1]
- xsd:field [1..*]
from type xsd:annotated
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
Any attribute | [0..*] | Namespace: ##other, Process Contents: lax | from type xsd:openAttrs | |
id | [0..1] | xsd:ID | from type xsd:annotated | |
name | [1..1] | xsd:NCName |
Used in
- Group xsd:identityConstraint
- Group xsd:elementModel via reference to xsd:identityConstraint
- Type xsd:localElement via reference to xsd:elementModel (Element xsd:element)
- Type xsd:narrowMaxMin via reference to xsd:elementModel (Element xsd:element)
- Type xsd:topLevelElement via reference to xsd:elementModel (Element xsd:element)
Sample instance
<xsd:unique name="NCName"> <xsd:selector xpath="token"> </xsd:selector> <xsd:field xpath="token"> </xsd:field> </xsd:unique>