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

Re: Attribute Order


change attribute order
On Fri, 2001-12-07 at 16:44, Fred L. Drake, Jr. wrote:
>   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.

It's funny to me how the Infoset view of XML documents completely blows
off any notion of "smallest possible change".  In my own development,
I'm moving toward an interface which will support the Infoset
expectation of unordered, but still preserve the original order.

Namespace declarations have similar issues, and a "smallest possible
change" strategy with those can be a real challenge.  Hopefully I'll
have that one sorted out by next week.
 
-- 
Simon St.Laurent
"Every day, in every way, I'm getting better and better." - Emile Coue


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.