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.
Arguments and Return TypeName | Type |
$key-name |
xs:string |
$key-value |
xs:anyAtomicType* |
$top |
node() |
return value |
node()* |
ExamplesSee Alsofn:id | Retrieves elements by their ID |
History |
Recommended Reading:
|