This isn't possible unless you write some extension functions to provide access to the information. Your best bet is probably to write some Java or similar code that copies the directory structure to an XML file; if you want to be clever you could write a DOM wrapper over the directory structure so that it looks like XML.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference