xsl-list
[Top] [All Lists]

RE: How to sort attribute?

2005-08-14 14:09:35

I thought this code should have sorted attribute nodes by names(seems
logical). I tested with Saxon 8.4, and it sorted the attributes by
name.


A processor is allowed to output the attributes in any order it likes. The
fact that Saxon chooses to output them in the order they are written (in
this particalar scenario) doesn't mean that you can rely on that behaviour.

Michael Kay
http://www.saxonica.com/



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



<Prev in Thread] Current Thread [Next in Thread>