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

RE: process order (still...)

Subject: RE: process order (still...)
From: Kevin Williams <Kevin.Williams@xxxxxxxxxxxxxx>
Date: Thu, 13 Apr 2000 14:46:17 -0400
RE: process order (still...)
My $0.02:

Attributes have no inherent order because there is no semantic meaning to
their order. In other words, say I have the following element:

<dog color="brown" name="Fido"/>

There's no significance to the fact that the color comes before the name.
Something like:

<dog name="Fido" color="brown">

conveys exactly the same information. This is why I am a (somewhat
heretical, I fear) advocate of using attributes to represent information
when using XML for data - just like in a relational database, it doesn't
really matter whether piece of information (column) A comes before or after
piece of information (column) B. The only thing that's meaningful about an
attribute is the element to which it's attached, not the order in which it
appears.

- Kevin

Kevin Williams
XML Architect
Ultraprise Corporation
kwilliams@xxxxxxxxxxxxxx


> -----Original Message-----
> From: Mike Brown [mailto:mike@xxxxxxxx]
> Sent: Thursday, April 13, 2000 1:39 PM
> To: xsl-list@xxxxxxxxxxxxxxxx
> Subject: Re: process order (still...)
> 
> I'm asking why do they have no inherent order. "Because the 
> implementation
> might be some wacky hash table" is a circular argument. 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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
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.