Content v. attribute

david.cook at platinum.com david.cook at platinum.com
Tue Oct 27 05:52:17 GMT 1998


The simplest principle I've found is:
Content = human-readable
Attribute = machine-readable.

But even that is open to interpretation... the principle is based on the idea
of an attribute affecting the content, not actually being output itself. HTML
operates in that way: you don't 'see' HREFs or SRCs, but they surely affect the
behavior of the tag, and it's the behavior I'm really interested in being
variable, not the content...




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