OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Attributes v Elements




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