Re: Re: [xslt] Extensions



Daniel,

I suppose I'm making some errors.

I have included 

xmlns:date="http://exslt.org/dates-and-times"; extension-element-prefixes="date" 

then

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

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?


Thanks 

--Marco




>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:
>> 
>> {http://exslt.org/dates-and-times}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
>
>--  Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
>veillard@redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
>http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
>_______________________________________________
>xslt mailing list, project page http://xmlsoft.org/XSLT/
>xslt@gnome.org
>http://mail.gnome.org/mailman/listinfo/xslt
>
>

-----------------------------------------------------

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
sito http://club.interfree.it
Ti aspettiamo!

-----------------------------------------------------





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