A key uniquely identifies sibling occurrences of an element. It is permitted for non-sibling occurrences to have the same key.
Consider the following XML structure:
attribute can be a valid key for
because it uniquely identifies an
within a single
. The duplication of
values in different
elements does not invalidate the key.