LISTSERV mailing list manager LISTSERV 15.5

Help for XML-L Archives


XML-L Archives

XML-L Archives


View:

Next Message | Previous Message
Next in Topic | Previous in Topic
Next by Same Author | Previous by Same Author
Chronologically | Most Recent First
Proportional Font | Monospaced Font

Options:

Join or Leave XML-L
Reply | Post New Message
Search Archives


Subject: Re: Can Letters with accent marks be used in a XML document?
From: "DuCharme, Robert" <[log in to unmask]>
Reply-To:General discussion of Extensible Markup Language <[log in to unmask]>
Date:Wed, 4 Aug 1999 12:42:26 -0400
Content-Type:text/plain
Parts/Attachments:
Parts/Attachments

text/plain (22 lines)


>Does this mean that i cannot use
>the letters with accent marks in a XML document?

The general problem was originally: what byte does a file use to represent a
particular accented character? For example, to represent an a with an
umlaut, a Mac uses byte 138, DOS uses byte 132, and Windows and Unicode use
the value 228.

XML uses Unicode, but that still leaves certain encoding issues to deal
with. See C9 of the XML FAQ (http://www.ucc.ie/xml/#FAQ-CHARENTS) for more
details.

To make this easier, special characters are often represented as entity
references, like the &amp; and &lt; strings used in HTML. A common
representation of "a" with an umlaut is &auml;, but this has to be declared
before a processor understands it. See sections 4.1
(http://www.w3.org/TR/REC-xml#dt-entref) 4.2.1
(http://www.w3.org/TR/REC-xml#sec-internal-ent) of the XML spec for more.

Bob DuCharme       www.snee.com/bob       <bob@
snee.com>  see www.snee.com/bob/xmlann for "XML:
The Annotated Specification" from Prentice Hall.

Back to: Top of Message | Previous Page | Main XML-L Page

Permalink



LISTSERV.HEANET.IE

CataList Email List Search Powered by the LISTSERV Email List Manager