xref: /PHP-8.1/ext/xsl/tests/phpfunc.xsl (revision 128cd0d0)
1<?xml version="1.0" encoding="iso-8859-1"?>
2<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3    xmlns:php="http://php.net/xsl"
4>
5    <xsl:output  method="text" encoding="iso-8859-1" indent="no"/>
6<!--    <xsl:param name="foo" select="'bar'"/>-->
7    <xsl:template match="/">
8     <xsl:value-of select="php:function('ucwords','this is an example')"/>
9    </xsl:template>
10</xsl:stylesheet>
11