Re: Inline macros

erik (
Thu, 25 Apr 1996 16:12:40 -0400

Message-Id: <>
Date: Thu, 25 Apr 1996 16:12:40 -0400
From: erik <>
To: Paul Prescod <>
Subject: Re: Inline macros

> Scripting features in HTML _is_ a topic for this list, and we
> can learn how _not_ to do it by examining JavaScript

What is needed in HTML is a way to allow arbitrary NON-SGML 
sections in a document.....(embedded perl...embedded 
java...etc.).  This way we can stop the threat of w3's 

The META tag fits into SGML....which is why no one writes 
macro languages around it.

<H2>My flashy macro thing page

<SECTION NAME=* TYPE=txt/x-funk SEPARATOR="!!!!nonsgml!!!!!">
%my(funcky, macro)

<SECTION NAME=* TYPE=txt/java>
my(java, macro);

<P>Normal HTML resumes...sanity is resored.

<P>If separator is not specified, the default delimiter is 
assumed to be a normal closing-tag. this style would be 
encouraged.....but of course some macro interpreters wouldn't be 
able to handle it.

<P>A browser would pass the contents of the section to the 
interpreter unchanged.

<P>Vendors will do stupid non-sgml things with this macro....but 
at least that way it will all be in one place!