Re: Re: [xslt] Extensions


I suppose I'm making some errors.

I have included 

xmlns:date=""; extension-element-prefixes="date" 


<xsl:variable name="secondi">
	<xsl:value-of select="date:second-in-minute()"/>

I obtain the following error:

xmlXPathCompOpEval: function second-in-minute not found
XPath error Unregistered function in date:second-in-minute()
xmlXPathCompiledEval: evaluation failed

What's my mistake?



>On Tue, Jul 01, 2003 at 03:44:55PM +0200, Marco Spinetti wrote:
>> Hi all,
>> typing xsltproc --dumpextensions
>> I see that the following extension is included in the libxslt:
>> {}second-in-minute
>> Can someone tell me how I have to call this function?
>  see tests/exslt/date/time.1.xsl in the source distribution
>--  Daniel Veillard      | Red Hat Network
>  | libxml GNOME XML XSLT toolkit
> | Rpmfind RPM search engine
>xslt mailing list, project page


Salve, il messaggio che hai ricevuto
 stato inviato per mezzo del sistema
di web mail interfree. Se anche tu vuoi 
una casella di posta free visita il
Ti aspettiamo!


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