XSLT has a variety of predefined functions.
An expression in XSLT can include a function call.
A function returns a value.
Using Functions in XPath Expressions | Using the key() Function | XSLT Functions | XPath Functions