saxonica.com

xslt:key

Function signature

$key-name

xs:string

$key-value

xs:anyAtomicType *

Result

node() *

Returns the nodes identified by a named key declaration in the stylesheet.

XSLT 2.0 Specification

Function signature

$key-name

xs:string

$key-value

xs:anyAtomicType *

$root-node

node()

Result

node() *

Returns the nodes identified by a named key declaration in the stylesheet. The nodes selected are those that have a matching key-value, and that are within the subtree rooted at $root-node (which will generally be either a document node or an element)

XSLT 2.0 Specification

Next