Easy Tutorial
❮ Func Functionavailable El Choose ❯

XSLT key() Function



Definition and Usage

The key() function returns a node-set from the document by using the index specified by the <xsl:key> element.


Syntax

Parameters

Parameter Description
string Required. Specifies the name of the xsl:key element.
object Required. The string to search for.

Example 1

View XML File, View XSL File, View Result.

❮ Func Functionavailable El Choose ❯