key

Return the nodes that have a specified key

Description

The fn:key function returns the nodes with a particular key. It is similar to calling the fn:id function except using keys instead of IDs. Note: this is an XSLT-only function; it is not available in XQuery or XPath.

Parameters

Description

key-name:string()

key-value:string()

top:node()

See Also