I have the following code in my xsl document : I tried to apply it but it is returning the following error: Error:XSLTProcessor::transformToXml() [xsltprocessor.transformtoxml]: XPath evaluation returned no result. Does any one have an idea ??
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:user="http://mycompany.com/mynamespace"
xmlns:msxsl="urn:schemas-microsoft-com:xslt" version="1.0">
<xsl:output method="text" encoding="UTF-8" />
<xsl:template match="/">
<xsl:value-of select="CARRIERNAME"/>
<xsl:value-of select="user:FormatescapeEmbeddedCommas()"/>
</xsl:template>
<msxsl:script language="javascript" implements-prefix="user">
function FormatescapeEmbeddedCommas() {
return "ABC";
}
</msxsl:script>
</xsl:stylesheet>