XSLT key() Function
Complete XSLT function reference
Definition and Usage
The key() function returns a node-set from the document by using the xsl:key index number specified by the element.
Syntax
node-set key(string, object)
Parameters
| Parameters | Description |
|---|---|
| string | Required. Specifies the name of the xsl:key element. |
| object | Required. The string to search for. |
Example 1
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> Title: Artist: Price:
View the XML file、 View the XSL file、 View the result。
Complete XSLT function reference