Re: XMP and HTML 2.0 and 3.0

> 
> Yesterday, I read in the HTML 2.0 draft that the XMP tag was only supported
> for backward compatibility and that documents should use the PRE tag. The
> XMP tag is not even mentioned in the HTML 3.0 draft.

Correct. The semantics of the XMP tag cannot be expressed in SGML. So
the XMP tag had to go to make HTML SGML-conformant. 

> OK but what should I use if I want a block of text to be inserted without
> any interpratation of HTML tags? I really need it. Did I miss something?

You have a bunch of text that you want to include in an HTML file? Just write
a simple filter, macro, or whatever that converts all occurences of:

 & to &
 " to "
 < to &lt;
 > to &gt;

Making sure that it does the & to &amp; conversion *first* ;-)
Then include the modified file inside PRE tags.

--
Chris Lilley, Technical Author
+-------------------------------------------------------------------+
|       Manchester and North HPC Training & Education Centre        |
+-------------------------------------------------------------------+
| Computer Graphics Unit,             Email: Chris.Lilley@mcc.ac.uk |
| Manchester Computing Centre,        Voice: +44 61 275 6045        |
| Oxford Road, Manchester, UK.          Fax: +44 61 275 6040        |
| M13 9PL                            BioMOO: ChrisL                 |
|     URI: http://info.mcc.ac.uk/CGU/staff/lilley/lilley.html       | 
+-------------------------------------------------------------------+
|     "The first W in WWW will not wait."   François Yergeau        |
+-------------------------------------------------------------------+

Received on Wednesday, 3 May 1995 10:15:13 UTC