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

> 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