[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to sort attribute?
On 08-14-2005 10:22 PM, John Li wrote:
I implement a parser of one XML related spec. In it, it defines the format of output file clearly.
That particular aspect is handled by the serializer; no amount of XSLT coding will guarantee that attributes come out in any given order. Why exactly must they be in that order? What "big trouble" will it cause? If you are depending on the order of attributes to be alphabetical, then you are not writing an XML parser. You're writing a parser that accepts some *subset* of well-formed XML documents, which is a different beast. -- Sincerely, Tony Lavinio Stylus Studio Principal Software Architect http://www.stylusstudio.com/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|