Re: [xslt] exslt function supported by xsltproc



On Wed, Apr 16, 2003 at 10:08:10AM +0200, Frédéric Laurent wrote:
> Registered Extension Functions:
> {http://exslt.org/math}power

[...]

>     <xsl:call-template name="math:power">
>       <xsl:with-param name="base" select="5" />
>       <xsl:with-param name="power" select="2" />
[...]
> I don't understand what I have missed !

  it's registered as a function, call-template is not the proper
construct to call it then, it looks suspicious to use a template
to call a math function, that doesn't look right at all.

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/



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