RE: [xsl] RE: Postional predicates de-mystified

Subject: RE: [xsl] RE: Postional predicates de-mystified
From: DPawson@xxxxxxxxxxx
Date: Fri, 4 Jan 2002 16:14:15 -0000
Thanks Mike.
I'm guessing I can't equate node-list with list of nodes then.
<grin>No David, please don't jump in, I wouldn't understand it anyway :-)

Hadn't got round to the data model as yet.

Regards DaveP


> > Curious about the shift from node-set to sequence then.
> > Was it because of all the discussion (confusion?) on the list
> > re sets?
> 
> I think it started with the fact that XML Schema supports 
> lists as a data
> type, for example IDREFS is a list of strings. XQuery wanted 
> to support
> lists of nodes (without them, what is the result of a sort 
> operation?), and
> so came the idea of a data model based on sequences. There was then
> considerable debate about whether the model should support sets and
> sequences as separate types, with an eventual consensus that 
> operations that
> naturally produced sets (like path and union expressions) 
> would be defined
> as producing a sequence in canonical order, as this kept the 
> model simpler.
> 
> The confusion about XPath 1.0 node-sets may have had an 
> influence. It wasn't
> confined to this list either - I've heard people within W3C, 
> people with a
> mathematical training who should know better - claim that XPath 1.0
> node-sets were really sequences all the time.
> 
> Mike Kay
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 

- 

NOTICE: The information contained in this email and any attachments is 
confidential and may be legally privileged. If you are not the 
intended recipient you are hereby notified that you must not use, 
disclose, distribute, copy, print or rely on this email's content. If 
you are not the intended recipient, please notify the sender 
immediately and then delete the email and any attachments from your 
system.

RNIB has made strenuous efforts to ensure that emails and any 
attachments generated by its staff are free from viruses. However, it 
cannot accept any responsibility for any viruses which are 
transmitted. We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email 
and any attachments are those of the author and do not necessarily 
represent those of RNIB.

RNIB Registered Charity Number: 226227

Website: http://www.rnib.org.uk 


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


Current Thread