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

Re: [xsl] position last and attributes

Subject: Re: [xsl] position last and attributes
From: "John P. McCaskey" <groups@xxxxxxxxxxxxxxxx>
Date: Thu, 20 Sep 2012 16:01:26 -0400

On 9/20/2012 3:23 PM, G. Ken Holman wrote:
At 2012-09-20 14:16 -0400, John P. McCaskey wrote:
I'd like the displayed order to be document order.
I'm sure you mean to say "specified order" here, because I think we've established there is no document order for attributes.
Yes. My mistake.

. . . I see what you see in that a number of processors appear to put the attributes on the attribute axis in specified order, followed by the unspecified defaulted attributes in declaration order.
So when there is no declaration, then -- even with all the haranguing about what the spec says -- an xsl:for-each or a select="@*[ ]" will take attributes in specified order.

Is that right?

-- John

Current Thread