W3C home > Mailing lists > Public > www-html@w3.org > April 2001

Re: XMP tag.

From: Russell O'Connor <roconnor@math.berkeley.edu>
Date: Thu, 5 Apr 2001 18:12:18 -0700 (PDT)
To: Christopher Mark Balz <chris.balz@digigroups.com>
cc: W3C HTML <www-html@w3.org>
Message-ID: <Pine.SOL.4.32.0104051809340.2120-100000@paddington>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 27 Mar 2001, Christopher Mark Balz wrote:

> I am perturbed to hear that the <XMP> tag might be removed from HTML.  I use
> it often to dump HTML output to a browser window - it is extremely handy.
> With only the <PRE> tag, I'd have to do a regexp operation to replace angle
> brackets, etcetera.

Dump out
<PRE>
<![CDATA[
... your data goes here, must not use ]]> in this data ...
]]>
</PRE>

Then run this file through sgmlnorm <http://www.jclark.com/sp/>.

If you do have "]]>" in your data, you must replace it with
"]]>]]><![CDATA[".

- -- 
Russell O'Connor                           roconnor@math.berkeley.edu
           <http://www.math.berkeley.edu/~roconnor/>
``Paradoxically, a refusal to `put a monetary value on life' means that
life is often undervalued.'' -- Artificial Intelligence: A Modern Approach
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (SunOS)
Comment: For info see http://www.gnupg.org

iD8DBQE6zRf4ZG3em5NXM14RAhwgAJ4oc4zU3l92NZUWRpCkuLjyHpSnewCgiJjC
4omegRSmbifu8I19CeMG0hw=
=NteC
-----END PGP SIGNATURE-----
Received on Thursday, 5 April 2001 21:12:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:48 GMT