RE: [xsl] How to sort attribute?

Subject: RE: [xsl] How to sort attribute?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Sun, 14 Aug 2005 22:09:35 +0100
> 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/

Current Thread