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

Re: [xsl] position last and attributes


Subject: Re: [xsl] position last and attributes
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Thu, 20 Sep 2012 11:23:54 +0100

> You are talking about position() and last() through the prism of the
> XPath data model (or specification if it is more accurate to say
> that).

what prism are you using?

> If you cast a data model in it's real light; as  an imperfect
> abstraction of the real world, then one can see how the imperfections
> can lead to paradoxes such as being able to apply a function that has
> ordering semantics to another construct  that is intrinsically
> unordered.

Im not sure how else I can explain it.  position() and last() are
*not* related to the document order of the input document, they are
related to the order of the constructed node list.


> Let me give a different example.
>
> Where does a circle begin?

haha what?



-- 
Andrew Welch
http://andrewjwelch.com


Current Thread
Keywords