xs:key

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
id xs:ID optional
name xs:NCName required
Wildcard: ANY attribute from ANY namespace OTHER than 'http://www.w3.org/2001/XMLSchema'

Used By

Element Group xs:identityConstraint

Source

<xs:element name="key" type="xs:keybase" id="key">
  <xs:annotation>
    <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-key"/>
  </xs:annotation>
</xs:element>

Sample