Re: [xslt] Extensions
- From: cbozeman hiwaay net
- To: xslt gnome org
- Subject: Re: [xslt] Extensions
- Date: Tue, 01 Jul 2003 09:13:31 -0500 (CDT)
It is a function. Try:
<xsl:value-of select="date:second-in-minute()"/>
Look in the tests/exslt/date directory for more examples.
C. Bozeman
Quoting Marco Spinetti <spinmar@interfree.it>:
> 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?
>
> I have tried:
>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> xmlns:date="http://exslt.org/dates-and-times"
> extension-element-prefixes="date" version="1.0">
>
> .........
>
> <xsl:variable name="secondi">
> <xsl:call-template name="date:second-in-minute" />
> </xsl:variable>
>
>
> but that gives me an error.
>
> Thanks for your help
>
> --Marco
>
>
> _______________________________________________
> xslt mailing list, project page http://xmlsoft.org/XSLT/
> xslt@gnome.org
> http://mail.gnome.org/mailman/listinfo/xslt
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]