Re: Redefining the markup language on the fly?

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


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;

]>
extra tags

Consider quarks x and y...