[Home] [By Thread] [By Date] [Recent Entries]


On Friday 31 January 2003 01:03 am, James Clark wrote:
> > Remove the syntactic mess that is attributes.
> > (You will then find that you do not need them at all.)
>
> I think Erik's right that attributes in XML are a mess.  Either
>
> - they ought to have be able to structured values, just like elements (i.e.
> one could view the content of an element as a special unnamed attribute),
> or
>
> - they should be removed entirely.

In a language for marking up data vs. a language for marking up text, sure. 
For text (and many other things too), I found/find attributes to be very 
useful, so long as the values they contain are simple.

The very valid complaint that Erik makes is that XML has strayed from it's 
initial domain, into new territory where it's less than optimal. The tension 
that brings about is behind a lot of the complaints we hear.




Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member