Re: [xslt] Problem using exslt with libxslt



On Thu, 04 Nov 2004 22:03:17 +0100, Pedro Rocha
<pedro_jrocha hotmail com> wrote:
> 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.
>
> Any clues?
> 
> Thanks,
> 
> Pedro

The namespace for prefix 'str' should be 'http://exslt.org/strings',
not 'http://exslt.org/str'.

HTH
Stuart Dootson


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