The XSLT and XPath specs at w3.org/TR have complete lists of available function calls. I/O specific calls like this are not provided, so you'll have to look into the extension functions of the XSLT implementation that you're using. Several provide what you describe.