Re: [xsl] Re: Re: Re: Re: order of UNIONs

Subject: Re: [xsl] Re: Re: Re: Re: order of UNIONs
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 16 Nov 2001 12:46:45 GMT
Jeni
> I think using 'set' to describe such a collection would be confusing.
not confusing, just wrong:-)

'tis a multi-set (or bag if you prefer that terminology)


>  <xsl:variable name="nodeSet"
>                 select="$nodeSequence | $nodeSequence" />

It's not just union ( | ) that has different semantics for lists.

what would you guess
select="count(*/..)"
should be, given any semantics that you want to guess for sequences and
for / (and for count() )

In XPath 1.0, 'cause sets are sets, you get the answer 1.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread