Re: What about an <INSERT HREF="foo.txt"> tag ?

James K. Tauber (jtauber@library.uwa.edu.au)
Thu, 13 Jun 1996 16:51:14 +0800


Message-Id: <31BFD682.78FF@library.uwa.edu.au>
Date: Thu, 13 Jun 1996 16:51:14 +0800
From: "James K. Tauber" <jtauber@library.uwa.edu.au>
To: Wolfgang HEES <hees@lhc.msm.cern.ch>
Cc: "'WWW-html w3 org'" <www-html@w3.org>
Subject: Re: What about an <INSERT HREF="foo.txt"> tag ?

Wolfgang HEES wrote:
> was there ever the idea of creating an <INSERT HREF="foo.txt"> tag ?
> It would take the contents of the specified file (be it HTML or not)
> and display it in the page.

A solution already exists but it requires web browsers to allow 
declaration subsets and general entities. For example:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN" [
	<!ENTITY heading SYSTEM "http://www.uwa.edu.au/heading.incl">
]>
<HTML>
<HEAD>
<TITLE>Test Page</TITLE>
</HEAD>
<BODY>
&heading;
</BODY>
</HTML>

Once you start getting web browsers with SGML parsers and proper entity 
management this will be possible.

Infact, what would be nice is a web browser with an architecture engine 
that could serve up documents in any DTD conforming to HTML as a 
meta-DTD.
-- 
James K. Tauber / jtauber@library.uwa.edu.au
University CWIS Coordination Officer
The University of Western Australia