[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Attributes v Elements
- From: Marcus Carr <mrc@allette.com.au>
- To: xml-dev@lists.xml.org
- 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
of:
<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.
--
Regards,
Marcus Carr email: mrc@allette.com.au
___________________________________________________________________
Allette Systems (Australia) www: http://www.allette.com.au
___________________________________________________________________
"Everything should be made as simple as possible, but not simpler."
- Einstein