Re: Redefining the markup language on the fly?

Daniel W. Connolly (connolly@hal.com)
Fri, 10 Jun 1994 10:23:03 -0500


Message-Id: <9406101523.AA07670@ulua.hal.com>
To: murray@sco.com
Cc: Multiple recipients of list <www-html@www0.cern.ch>
Subject: Re: Redefining the markup language on the fly? 
In-Reply-To: Your message of "Fri, 10 Jun 1994 15:29:01 +0200."
             <9406100917.aa11448@dali.scocan.sco.COM> 
Date: Fri, 10 Jun 1994 10:23:03 -0500
From: "Daniel W. Connolly" <connolly@hal.com>

In message <9406100917.aa11448@dali.scocan.sco.COM>, Murray Maloney writes:
>I apoligize that I don't know who posted this, but
>in response to a thread which has appeared in this mail list,
>> 
>> >        <RENDER TAG=NEW_TAG EQUIV=STRONG>
>> >
>> >And now use <NEW_TAG> all over the place.  What happens when I want to
>> 
>Hi,
>
>The idea of being able to reinvent the markup language
>on a document by document by document basis is an
>interesting and somewhat appealing one.
>
>However, it will make it impossible to completely 
>regularize the language as an SGML DTD.  That is,
>it would be impossible to parse a document that 
>added new tags in this manner.  


Not so... the following might very well be a conforming SGML document:

<!DOCTYPE HTML [

<!ENTITY html-3.0 PUBLIC "-//W3O//DTD WWW HTML 3.0//EN">

<!ENTITY % cextra "QUARK|LEPTON">

%html-3.0;

]>
<html>
<head><title>extra tags</title></head>
<body>
<render tag=QUARK equiv="I">
<render tag=LEPTON equiv="B">

<p>Consider quarks <quark>x</quark> and <quark>y</quark>...

</body>
</html>