Поделиться через


key Function (Windows CE 5.0)

Send Feedback

Retrieves elements previously marked with an xsl:key statement.

node-setkey(name, value)

Parameters

  • name
    Element name.
  • value
    Key value.

Return Values

Elements previously marked with xsl:key which match the name and value specified in the arguments.

Remarks

The key() function retrieves a node set (zero or more nodes) that have the same key name and key value specified in the <xsl:key> statement. When the XSL Transformations (XSLT) style sheet is first processed, the keys are stored internally to simplify access. Keys can simplify accessing nodes in the XML document, but may not be faster than using XML Path Language (XPath) to retrieve the same nodes.

Requirements

None.

See Also

Node-Set Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.