1<?xml version="1.0" encoding="iso-8859-1"?> 2<!-- $Id: phpfunc.xsl,v 1.1.2.2 2009-05-23 14:49:55 felipe Exp $ --> 3<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 4 xmlns:php="http://php.net/xsl" 5> 6 <xsl:output method="text" encoding="iso-8859-1" indent="no"/> 7<!-- <xsl:param name="foo" select="'bar'"/>--> 8 <xsl:template match="/"> 9 <xsl:value-of select="php:function('ucwords','this is an example')"/> 10 </xsl:template> 11</xsl:stylesheet> 12