[xslt] Problem using exslt with libxslt



Hello,

I'm trying to use exslt with win32 libxslt (1.1.10) and I'm having the following problem:

This is the xsl file:

     <xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
xmlns:str="http://exslt.org/str"; extension-element-prefixes="str">

              <xsl:template match="/">
                  <xsl:value-of select="str:padding(1,'aaa')"/>
              </xsl:template>

I'm using the libxslt function xsltApplyStylesheet.

And this is the error I'm getting:

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


Any clues?

Thanks,

Pedro

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.com/




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