This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: [exsl] Draft 0.1 - call for comments
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] [exsl] Draft 0.1 - call for comments
- From: Uche Ogbuji <uche dot ogbuji at fourthought dot com>
- Date: Thu, 01 Mar 2001 01:10:21 -0700
- cc: Francis Norton <francis at redrice dot com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> > Looks like it's adding up to a pretty compelling case for a read-only
> > "xpathType()" function.
>
> Something like:
>
> Function: string exsl:object-type(object)
>
> The exsl:node-type function returns a string giving the type of the
> object passed as the argument. The possible object types are:
> 'string', 'number', 'boolean', 'node-set' or 'RTF'.
>
> [Note: The description would change in version 1.1 (matching XSLT 1.1)
> to:
>
> The exsl:node-type function returns a string giving the type of the
> object passed as the argument. The possible object types are:
> 'string', 'number', 'boolean', 'node-set' or 'external'.]
I find this much more compelling than a built-in system of typeconstraints.
--
Uche Ogbuji Principal Consultant
uche.ogbuji@fourthought.com +1 303 583 9900 x 101
Fourthought, Inc. http://Fourthought.com
4735 East Walnut St, Ste. C, Boulder, CO 80301-2537, USA
Software-engineering, knowledge-management, XML, CORBA, Linux, Python
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list