RE: last attribute ?

Subject: RE: last attribute ?
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Wed, 27 Sep 2000 16:18:58 +0100
> The original statement by Mike Kay indicated that the order 
> of attributes returned by xsl:for-each was not reliable 
> (which makes sense).  I then made my leap (uh-oh) and assumed 
> that this would also apply to the order of elements that are 
> returned by xsl:for-each.

No, elements are processed in document order, which is well-defined.

Actually the XML spec itself doesn't say that element order is significant
and attribute order isn't, but it's part of the folklore, subsequently
enshrined in things like the XML Infoset and the XPath tree model.

Mike Kay 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread