[Home] [By Thread] [By Date] [Recent Entries]

  • From: Marcus Carr <mrc@a...>
  • To: xml-dev@l...
  • 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 [expletive deleted] 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@a...
___________________________________________________________________
Allette Systems (Australia)      www:    http://www.allette.com.au
___________________________________________________________________
"Everything should be made as simple as possible, but not simpler."
       - Einstein



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member