xsl-list
[Top] [All Lists]

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

2008-08-20 16:07:05
On Wed, Aug 20, 2008 at 1:43 PM, Bordeman, Chris
<Chris(_dot_)Bordeman(_at_)wolterskluwer(_dot_)com> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>