xs:keyref
<xs:keyref id = "ID
" name = "NCName
" refer = "QName
" > <!-- (xs:annotation?, (xs:selector, xs:field+) ) --> </xs:keyref>
The xs:keyref
element is placed inside xs:element
elements to require that the
element selected by the xs:selector
must match an xs:key
or xs:unique
with the name given by the
refer
attribute. The key that
is referred to must be a child of one of the ancestors of this
xs:keyref
. The value that is
matched against the specified key is determined by the
concatenation of the values of the xs:field
child elements.