xsl-list
[Top] [All Lists]

Re: [xsl] position last and attributes

2012-09-20 05:35:56
On Thu, Sep 20, 2012 at 11:11 AM, Mukul Gandhi 
<gandhi(_dot_)mukul(_at_)gmail(_dot_)com> 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.

--~------------------------------------------------------------------
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>
--~--