Re: [xslt] Problem using exslt with libxslt



Thanks,

You're right, it should be "http://exslt.org/strings";. But I still have the same error. I've also tryed to use function str:tokenize...

<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
xmlns:str="http://exslt.org/strings";
version="1.0">
<xsl:template match="/">
<xsl:value-of select="str:tokenize('text a abc another text string', '/')">
</xsl:value-of>
</xsl:template>
</xsl:stylesheet>


And I have the following error:

xmlXPathCompOpEval: function tokenize not found
XPath error : Unregistered function
xmlXPathCompiledEval: 1 object left on the stack
runtime error: file file:///c%3A/temp/xml/tokenize.xsl line 7 element value-of
xsltValueOf: text copy failed


I have the feeling I'm doing something wrong......

I would appreciate any help.

Thanks,

Pedro

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.com/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]