1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4 exclude-result-prefixes="test"
6 <xsl:output method="html" encoding="iso-8859-1" version="4.0"
7 doctype-public="-//W3C//DTD HTML 4.01//EN"
10 <xsl:template match="/">
13 <title>xsl:function</title>
17 <xsl:when test="function-available('test:test')">
18 <p>Result: <xsl:value-of select="test:test()"/></p>
21 <p><tt>xsl:function</tt> not supported, but properly handled (ignored)</p>
28 <xsl:function name="test:test">
30 <xsl:text>YES</xsl:text>