The use of fn: functions in XSL - XPath

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!


In an XSL stylesheet, that I apply using an XSLTProcessor() in PHP5, I would
like to use the function fn:month-from-dateTime( ).  I found this function
I get the error message:
xmlXPathCompOpEval: function month-from-dateTime not found

Is the use of these functions not supported in php?  Or am I using them

I use it as follows:
xml data:

xsl stylesheet:
<xsl:stylesheet version="1.0"
xmlns:xsl=" "
xmlns:fn=" ">
        <xsl:template match="entry">
                <xsl:value-of select="fn:month-from-dateTime( submitDate )" />

        Thanks in advance,
        Rutger Claes
Rutger Claes                                                   rgc@rgc.tld
Replace tld with top level domain of belgium to contact me    pgp:0x3B7D6BD6
Do not reply to the from address.   It's read by /dev/null and sa-learn only

Site Timeline