- Code: Select all
<xsl:template name="create">
<xsl:for-each select="distinct-values($classpath_elements)">
<xsl:value-of select="."/>
</xsl:for-each>
</xsl:template>
and it gives error for distinct-values function. such as following:
Warning: XSLTProcessor::transformToXml() [xsltprocessor.transformtoxml]: xmlXPathCompOpEval: function distinctvalues not found in C:\xampp\htdocs\iris\index.php on line 24
Warning: XSLTProcessor::transformToXml() [xsltprocessor.transformtoxml]: Unregistered function in C:\xampp\htdocs\iris\index.php on line 24
Warning: XSLTProcessor::transformToXml() [xsltprocessor.transformtoxml]: xmlXPathCompOpEval: parameter error in C:\xampp\htdocs\iris\index.php on line 24
Warning: XSLTProcessor::transformToXml() [xsltprocessor.transformtoxml]: xmlXPathCompiledEval: evaluation failed in C:\xampp\htdocs\iris\index.php on line 24
Warning: XSLTProcessor::transformToXml() [xsltprocessor.transformtoxml]: runtime error: file file:///C:/xampp/htdocs/iris/preprocess/convert_to_facetmap.xsl line 17 element value-of in C:\xampp\htdocs\iris\index.php on line 24
Warning: XSLTProcessor::transformToXml() [xsltprocessor.transformtoxml]: XPath evaluation returned no result. in C:\xampp\htdocs\iris\index.php on line 24
HOW TO SUPPORT THOSE FUNCTIONS WHILE USING PHP XSLT PROCESSOR???? ANY HELP