Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Problem with EXSLT functions using 4xslt Problem with EXSLT functions using 4xsltTo: NULL Date: 8/2/2005 2:14:00 AM Hi,
When I try to run the following xsl on an xml with "<dummy></dummy>",
the 4xslt processor says "Undefined function: "testfn"". Any ideas?
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exslt = "http://exslt.org/common"
xmlns:func = "http://exslt.org/functions"
version="1.0">
<xsl:template match="/">
<xsl:value-of select="testfn()"/>
</xsl:template>
<func:function name="testfn">
<func:result>
<hello></hello>
</func:result>
</func:function>
</xsl:stylesheet>
Thanks in advance,
Prashanth
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
