[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Attribute Order
Kimberly.Hahn@e... writes: > Keep in mind that a given application may have some attribute sequence > requirements that a developer put into place for that application. Andrew Watt writes: > If there are attribute sequence *requirements* then I don't think the > document is XML, although it may be similar in all other respects. By > definition, in XML, attribute order is not important. This is certainly true for any application for which the infoset provides the basis for the data model. On the other hand, I'll suggest that tools which need to modify XML documents (XML editors) will often want to make the smallest possible change to a document so humans won't be surprised when unrelated parts of the document change in what is essentially a superficial way. A user who regularly edits documents using simple text editors will often arrange attributes for readability, and will be frustrated when a tool changes things around. The distinction between applications that need to care and those that don't can probably be described as the difference between applications for which XML *contains* the data and those for which XML *is* the data. For the former, XML syntax is simply the box that contains application-specific information. For the latter, the XML itself is what the application is concerned with. -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> PythonLabs at Zope Corporation
|
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
|