Re: HTML Pro questions

["Galactus"]
> This is probably a stupid question, but if the content of TITLE is
> defined as #PCDATA, then why would *any* element inside TITLE be
> valid? Isn't the #PCDATA model just "plain text with entities"?

Yes, it is - but there was an inclusion exception on the parent
element (head).  That means that anywhere within that element,
including within its children, the included elements are legal.  Thus:

<!ELEMENT head  O O (title & isindex?) +(meta|link)>
<!ELEMENT title - - (#PCDATA)>

allows <meta> and <link> inside <title>.  An exclusion exception
offsets that:

<!ELEMENT title - - (#PCDATA) -(meta|link)>

-Chris
-- 
<!NOTATION SGML.Geek PUBLIC "-//GCA//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//EBT//NONSGML Christopher R. Maden//EN" SYSTEM
"<URL>http://www.ebt.com <TEL>+1.401.421.9550 <FAX>+1.401.521.2030
<USMAIL>One Richmond Square, Providence, RI 02906 USA" NDATA SGML.Geek>

Received on Tuesday, 5 November 1996 16:57:46 UTC