Content v. attribute

Mike_Spreitzer.PARC at Mike_Spreitzer.PARC at
Mon Oct 26 21:01:36 GMT 1998

I agree with your reasoning.  For the sake of completeness of discussion,
however, let me point out an attribute-favoring argument I haven't noticed on
this list.  It is that well-formedness and validation can put more constraints
on attributes (if you design your DTD to take advantage of this) than on
element content.  So you can express more of the semantics of your application
via generic mechanisms this way.

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list