The 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 DOM's selectNodes.
XSLT Functions
| current | Returns a node-set that has the current node as its only member. |
| function-available | Returns True if the function is available in the function library. |
| element-available | Returns True if and only if the expanded-name is the name of an instruction. |
| format-number | Converts the first argument to a string using the format pattern string specified by the second argument. |
| generate-id | Returns a string that uniquely identifies the node in the argument node-set that is first in document order. |
| system-property | Returns an object representing the value of the system property identified by the name. |