[xslt] Extensions



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





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