Re: Redefining the markup language on the fly?

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>

Received on Friday, 10 June 1994 17:23:11 UTC