[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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


Subject: Re: [xsl] Casting single-item sequences to atomic values
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 08 Apr 2014 01:41:08 +0100

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



Current Thread