Keys

The ID/IDREF mechanism for locating elements in XML documents has been generalized in XSL to the notion of keys.

Declaring keys gives the stylesheet processor an indication of what elements should be cached for fast access.