Escape mechanism using release character

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


Hello,

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:
<Element1>5&lt;8</Element1>

Why not escape '<' using '\<' so that we get 
<Element1>5\<8</Element1>?

Thanks in advance for any replies,

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

Note: Not related to Infosys Technologies Limited








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





More information about the Xml-dev mailing list