W3C home > Mailing lists > Public > w3c-sgml-wg@w3.org > October 1996

Re: A10: how to escape markup characters in data?

From: Paul Grosso <paul@arbortext.com>
Date: Thu, 3 Oct 96 19:39:12 CDT
Message-Id: <9610040039.AA12524@atiaus.arbortext.com>
To: w3c-sgml-wg@w3.org
> From: Michael Sperberg-McQueen <U35395@UICVM.CC.UIC.EDU>
> 
> A.10 How should XML escape markup delimiter characters in content
> (especially if (R)CDATA elements and marked sections are not allowed)?

The way that seems easiest and most intuitive to me is to represent
them as entity references of some kind, e.g.:
	<p>
	&lt;ELEMENT foo (a &amp; b)>
	</p>

At least some tools do this automatically for authors now.
Received on Thursday, 3 October 1996 20:47:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:25:04 UTC