This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: last attribute ?


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]