Content v. attribute

Paul Prescod papresco at
Mon Oct 26 12:44:11 GMT 1998

"Vrijland, Jacco TRC-OGRS/2" wrote:
> Maybe you can provide me with some reasons why one of the two would be
> preferable over the other. Or with references as to where I can find out
> myself.

"A perennial question arising in the mind of SGML/XML DTD designers is
whether to model and encode certain information using an element, or
alternatively, using an attribute. For example, given some information
about the 'title' of a work and the goal of encoding this information in
markup, which of the two encodings is preferable, and what principles can
be used to decide?"

 Paul Prescod  -

Marge: "It's almost as if Snake is killing from beyond the grave."
Lisa: "I told you that capital punishment isn't a deterrent."
	- Simpson's halloween special

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