Re: Content v. attribute

John Cowan (cowan@locke.ccil.org)
Mon, 26 Oct 1998 10:47:01 -0500


Vrijland, Jacco TRC-OGRS/2 wrote:

> In this previous structure I have not
> yet incorporated a general description of the data (possibly quite a
> long string).

One good reason for modeling long descriptions as character data
rather than attribute values is to incorporate markup into it.
Descriptions are often the better for a bit of rich text: they
need things like emphasis and even hyperlinks. For a DTD building
block that provides such things, see
http://www.ccil.org/~cowan/XML/ibtwsh.dtd .

-- 
John Cowan	http://www.ccil.org/~cowan		cowan@ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)