Re: [xml] Problem using exslt with libxslt

Wrong mailing list, but you may want to get the exslt namespace correct: 

--- Pedro Rocha <pedro_jrocha hotmail com> wrote:


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:str=""; extension-element-prefixes="str">

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

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 
xsltValueOf: text copy failed

Any clues?



Don't just search. Find. Check out the new MSN Search!

xml mailing list, project page
xml gnome org

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