xsl-list
[Top] [All Lists]

Re: [xsl] position last and attributes

2012-09-20 06:03:10
On Thu, Sep 20, 2012 at 11:47 AM, Michael Kay <mike(_at_)saxonica(_dot_)com> 
wrote:

On 20/09/2012 07:13, Ihe Onwuka wrote:

It would seem (somewhat paradoxically) that given the definition of
position() and last() they could be applied to @* which is
intrinsically unordered.


Actually, there is a total ordering relation (document order) over all
nodes. It's just that for two attributes of the same element (and indeed,
say, for two elements in different documents) the ordering relation is
implementation-dependent. So it's not correct to say that they are
"intrinsically unordered". They are ordered, but not in a predictable way.


Then to me, they are not ordered irrespective of what the implementation does.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--