This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [exsl] Draft 0.1 - call for comments



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]