Content v. attribute

Mike_Spreitzer.PARC at xerox.com Mike_Spreitzer.PARC at xerox.com
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 ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list