xs:keyref

Element Information

Model

Attributes

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

Used By

Element Group xs:identityConstraint

Source

<xs:element name="keyref" id="keyref">
  <xs:annotation>
    <xs:documentation source="../structures/structures.html#element-keyref"/>
  </xs:annotation>
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="xs:keybase">
        <xs:attribute name="refer" type="xs:QName"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

Sample