[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Attributes v Elements
- From: Marcus Carr <firstname.lastname@example.org>
- To: email@example.com
- Date: Fri, 18 May 2001 10:18:49 +1000
Tim Bray wrote:
> At one point I believe Charles Goldfarb suggested
> <p><>This is no longer </><i>mixed</i><> content</></p>
Yuck! You still need a content model that supports mixed content, so instead
<ELEMENT p (#PCDATA | i)*>
you have to use something like:
<ELEMENT p (#PCDATA | i | p)*>
> which sucks a little less.
A little more, by my calculation...:-)
> Er, wouldn't you need either <span> or <> around the word
> "mixed"? If not, why not?
I'm guessing that was just a slip of the fingers, but you wouldn't need it
because element i doesn't contain mixed content.
Marcus Carr email: firstname.lastname@example.org
Allette Systems (Australia) www: http://www.allette.com.au
"Everything should be made as simple as possible, but not simpler."