Re: [xsl] Check the type of an untyped parameter to a 2.0 function

Subject: Re: [xsl] Check the type of an untyped parameter to a 2.0 function
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Wed, 20 Aug 2008 16:06:39 -0700
On Wed, Aug 20, 2008 at 1:43 PM, Bordeman, Chris
<Chris.Bordeman@xxxxxxxxxxxxxxxxx> wrote:
> I want my function to accept strings, numbers, floats, etc., but need to
> do different things depending on that type.
>
> How do I detect the type of the parameter, which has NO as="..."
> attribute?


http://fxsl.cvs.sourceforge.net/fxsl/fxsl-xslt2/f/func-type.xsl?view=markup



-- 
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
Never fight an inanimate object
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play

Current Thread