[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Can sets have order?

Subject: Re: Can sets have order?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 25 Jan 2001 17:22:51 GMT
xsl reorder node
> The pure mathematician (David) wins that point.

OK if you turn up in Oxford, I'll buy you a beer:-)



> The reason I objected to David's going on about sets not having order is that 
> he seemed to be claiming that node sets do not have order.

I didn't just seem to be, I was!


I find it much easier to understand XSL semantics for myself, and to
explain them to others, if I take this point of view.
I think the original confusion in the "nearest ancester thread" came
about precisely because people were not thinking in this way.

The XSL spec is always very careful to distinguish  between "node set"
and the "current node list" the latter, being a list and not a set,
has an order, and that's what position() refers to. In some places the
current node list emerges by magic out of a given node set, but it is
still useful to keep the things clearly separated in your (or at least,
my) mind.

David

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.