Re: [xsl] position last and attributes

Subject: Re: [xsl] position last and attributes
From: Ihe Onwuka <ihe.onwuka@xxxxxxxxxxxxxx>
Date: Thu, 20 Sep 2012 11:35:35 +0100
On Thu, Sep 20, 2012 at 11:11 AM, Mukul Gandhi <gandhi.mukul@xxxxxxxxx> wrote:
> Hi Ihe,
>     I think your confusion comes from the fact that, you want to get
> position of a node in the sequence as per document order. If that's
> your objective, then I think this problem can't be solved for
> attributes (due to it's unordered semantics at the XML level).

I am not confused. I understood how the semantics of position() and
last() affected @* before I posted.

In programming languages we say x = x + 1 or claim that x++ adds 1 to
x instead of 2.
In each case they only make sense within the narrow confine of the
semantics of their particular programming model otherwise they are
incontrovertibly counterfactual and counterintuitive respectively in
the same way that I say that applying an ordering semantic to
something that is unordered is paradoxical.

Current Thread