Share via


XSLT Functions (Compact 2013)

3/26/2014

The XML Path Language (XPath) syntax supports functions to provide information about nodes in a collection. These functions return strings or numbers and can be used with comparison operators in filter patterns. These functions are not available from the selectNodes method in the Document Object Model (DOM). These functions require the XSLT feature to be installed in the platform.

The following table shows the XSLT functions implemented by XPath and XSLT.

Function

Description

current Function

Returns a node set that has the current node as its only member.

element-available Function

Returns True if and only if the expanded-name is the name of an instruction.

format-number Function

Converts the first argument to a string using the format pattern string specified by the second argument.

function-available Function

Returns True if the function is available in the function library.

generate-id Function

Returns a string that uniquely identifies the node in the node-set argument that is first in document order.

node-set Function

Converts a tree into a node set. The resulting node always contains a single node and the root node of the tree.

system-property Function

Returns an object representing the value of the system property identified by the name.

unparsed-entity-uri Function

Returns declarations of unparsed entities in the document type definition (DTD) of the source document.

See Also

Reference

XSLT Reference
XPath Functions