Hi,
I'm trying to use AbstractXsltView.
I want to use xpath-functions in my xslt, but I have this error.
Can anyone tell me what did I miss?
Here is my xslt :(Location of error unknown)java.lang.NoSuchMethodException: For extension function, could not find method java.lang.String.tokenize([ExpressionContext,] #STRING)
Thanks,Code:<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:saxon="http://saxon.sf.net/" xmlns:functx="http://www.functx.com" > <xsl:output method="html" omit-xml-declaration="yes" /> <xsl:template match="/"> <html> <head> <title>Test</title> </head> <body> <h1>Test</h1> <xsl:apply-templates/> </body> </html> </xsl:template> <xsl:template match="Name"> <p><xsl:value-of select="fn:tokenize('a b c', '\s')"/></p> </xsl:template> </xsl:stylesheet>



Reply With Quote