Zend Technologies - PHP 5 In Depth - XML in PHP 5 - What's New?
"One of the latest features added to the XSLT extension is the ability to call any PHP function from within an XSLT stylesheet. While XML/XSLT purists will certainly dislike this.., it can be very useful in some special cases."