XPath function is not working with OSM 7.0.1
edited Jul 20, 2010 3:29AM in Order and Service Management (Communications Industry) (MOSC) 1 commentAnswered
Does XPath functions work with OSM 7.0.1?
I am making a XSLT automator, the header of the XSL file is selecting XSLT version 2.0
<xsl:stylesheet version="2.0"
and the XMLNS of xpath functions is defined like that
xmlns:fn="http://www.w3.org/2005/02/xpath-functions"
when I use XPath function <xsl:value-of select="fn:current-dateTime()"/> I get this error
(Location of error unknown)javax.xml.transform.TransformerException: Instance method call to method current-dateTime requires an Object instance as first argument
<xsl:stylesheet version="2.0"
and the XMLNS of xpath functions is defined like that
xmlns:fn="http://www.w3.org/2005/02/xpath-functions"
when I use XPath function <xsl:value-of select="fn:current-dateTime()"/> I get this error
(Location of error unknown)javax.xml.transform.TransformerException: Instance method call to method current-dateTime requires an Object instance as first argument
0