[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:47:52 +0100

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

position() and last() don't affect @*

maybe post a small complete example demonstrating your point?


-- 
Andrew Welch
http://andrewjwelch.com


Current Thread
Keywords
xml