xsl-list
[Top] [All Lists]

Re: [xsl] Returning item type of variable (problems with maps)

2014-03-28 04:38:36

On 28 Mar 2014, at 04:46, Dimitre Novatchev <dnovatchev(_at_)gmail(_dot_)com> 
wrote:

On Wed, Mar 26, 2014 at 3:57 PM, David Rudel <fwqhgads(_at_)gmail(_dot_)com> 
wrote:
Is there a simple way to report the type of a variable for de-bugging 
purposes?

Hi David,

You can use the f:type() function from FXSL 2.x


Looks as if this might need upgrading to handle new 3.0 types (functions, 
maps). Which are a bit more difficult to do using "instance of" tests, because 
the set of types to test for isn't easily enumerated.

Michael Kay
Saxonica


--~------------------------------------------------------------------
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>
--~--