OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: a small question on xml

[ Lists Home | Date Index | Thread Index ]
  • From: Sean Mc Grath <digitome@iol.ie>
  • To: xml-dev@ic.ac.uk
  • Date: Tue, 18 Aug 1998 12:33:24 +0100

>> Will someone help me with the representation of special characters
>>in .xml files? For example,
>> <someexpression original-from="(relation 5 "abc")">
>> or
>> <someexpression original-from="(< 2 5)">
>> I used IBM Parser for XML, but it shows some error. It seems that
>>" and < are not properly represented.

The "<" character is very special in XML and should only appear
when you want the parser to treat what follows as some sort
of markup. In all other cases, use "&lt;" which is a built
in "entity" that the parser knows about that translates post-parse
to the "<" character. The ">" character is less constrained but
it is good defensive authoring practice to escape it as well using


Book of condolences for the Omagh bombing:

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS