Escape mechanism using release character

Amit Rekhi amitr at
Fri Jul 16 14:43:52 BST 1999


Why is it that the well known escape mechanism of using a 
release character (like '\') for escaping special characters 
(eg. '<','&') not used in XML?
for eg. 
In order to input data "5<8"(without quotes) in
XML element, it is currently represented something like:

Why not escape '<' using '\<' so that we get 

Thanks in advance for any replies,

Amit Rekhi,
Software Engineer,
A.B. Infosys Private Limited,
B-102, Gulmohar Park,
New Delhi - 110049,
Tel: +91-11-6512816,6512822,6968976
Fax: +91-11-6518873
EMail: amit at

Note: Not related to Infosys Technologies Limited

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list