Escape codes in XML?

B

Bert Sierra

Hello.

Does XML allow the use of non-ASCII characters in tags using a '\'
escape sequence? For example, is the following valid XML code?

<\251ART offset="58265" size="35">
<data offset="58273" size="27">Frank Zappa</data>
</\251ART>

I am developing a small application that will parse a type of file and
produce XML tags based on what it finds. The names of the tags are
extracted from the file, and may contain characters in the range 0-255.
What is the proper way to represent these characters in tags?

Thanks in advance for any help...


-- Bert Sierra
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top