I have a requirement where I have to call functions in xsl:value-of select=<Function Name>
. The below code helps me do it in IE, but I need the same alternative for Chrome.
<xsl:value-of select="xslscript:ConvertDate()"/>
<msxsl:script language="javascript" implements-prefix="xslscript">
function ConvertDate()
{
/*Function body*/
}
... where msxsl
is the namespace given by Microsoft (xmlns:msxsl="urn:schemas-microsoft-com:xslt"
).
I need the same support for Chrome. Please let me know how can I call the ConvertDate
method, as I do not have msxsl
namespace support for Chrome, since this is given by Microsoft and it is IE specific.