xsl-list
[Top] [All Lists]

Re: [xsl] Casting single-item sequences to atomic values

2014-04-07 19:41:25
On 08/04/2014 01:31, Christian Roth wrote:
Hi,

why is

   (1) cast as xs:integer == 1


everything is a sequence more or less. You can't have an integer distinct from a sequence of one integer, same as you can't have a single node, just a sequence of one node etc


David


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