Re: [xsl] xsl:function

Subject: Re: [xsl] xsl:function
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Sat, 10 May 2003 12:21:28 +0100
I wrote:
> What you *can* do (and what is done for the legacy XPath 1.0
> functions that are polymorphic) is have the function accept a very
> general type and then have internal tests that determine the
> behaviour based on the type of the argument.

Of course if you want polymorphic behaviour with nodes rather than
with atomic values, you're best off using templates rather than
functions.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread