[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Attribute Order


xml 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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.