Re: Inline text/html

Earl Hood (ehood@isogen.com)
Tue, 10 Sep 1996 08:32:53 -0500


Message-Id: <199609101332.IAA06440@bonk.isogen.com>
To: www-html@w3.org
Subject: Re: Inline text/html 
In-reply-to: Your message of "Tue, 10 Sep 1996 23:09:27 +1000."
             <Pine.LNX.3.91.960910230423.26461B-100000@fizzgig.glasswings.com.au> 
Date: Tue, 10 Sep 1996 08:32:53 -0500
From: Earl Hood <ehood@isogen.com>

> > I don't think many people realize inlining HTML documents can be done
> > by <OBJECT>, or even <IMG>. That is, complete documents, no server-side
> > look-a-likes.  If one can put a gif/jpg/movie/java-thingy somewhere,
> > why not an HTML document?  Of course, no browser has implemented it
> > yet, but considering frames are implemented, inline HTML documents
> > with <OBJECT> shouldn't be too difficult.
> 
> This is why I suggested this. When I found there was no effective 
> 'include' function in HTML, well...

There is an "include" function if browser implementors would
eventually decide to implement some of the more useful aspects of
SGML.  As suggested years ago, the SUBDOC entity construct provides
what you require:

<!DOCTYPE HTML [
    <!ENTITY otherdoc SYSTEM "http://foo.org/doc.html" SUBDOC>
]>
<html>
<head><title>Title</title>
</head>
<body>
<H1>Heading<h1>
<p>blah blah blah
</p>
&otherdoc;
...

Or, an element (maybe OBJECT) contains an entity attribute that
refer to the external document entity referenced:

<object subdoc=otherdoc>

And if the subdoc attrbute is declared as a #CONREF attribute,
the object element would have empty content if the attribute is
set.

BTW, generic entity support will solve several problems people have
authoring, and maintaining, HTML.  Hopefully, client implementors
will support entities someday (and entity management).

	--ewh