Re: Inline text/html

> > 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

Received on Tuesday, 10 September 1996 09:34:28 UTC