Re: HTML Architecture (Was: Future of HTML)

On Fri, 20 Mar 1998, Gerald Oskoboiny wrote:

> I was hoping we would be able to use OBJECT for this, but as far
> as I know none of the popular browsers support transclusion of
> HTML objects. This might be a good thing for someone to hack into
> Netscape once the source is released.

Transclusion using enitites and objects are actually different in
signifigant ways.  An html file inserted with an OBJECT element is a stand
alone document.  It has it's own URL resolution heirarchy.  It has it's
own style sheet.  It has it's own grove.  An html segment inserted with an
entity becomes part of the root document.  The root document's style sheet
applies to it.  It's insertion affects the grove structure of the root
documents.

These subtle diffrences can have major consequences when the document is
affected by CSS and DOM.  I don't think one method is better than the
other. I think each has it's place depending on the situation. 

-- 
Russell O'Connor                           roconnor@uwaterloo.ca
    <URL:http://www.undergrad.math.uwaterloo.ca/%7Eroconnor/>
"And truth irreversibly destroys the meaning of its own message"
-- Anindita Dutta, "The Paradox of Truth, the Truth of Entropy"

Received on Saturday, 21 March 1998 00:58:32 UTC