Content v. attribute

Paul Prescod papresco at technologist.com
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.

http://www.oasis-open.org/cover/elementsAndAttrs.html

"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  - http://itrc.uwaterloo.ca/~papresco

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 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