XML and & character

  • Thread starter Thread starter BenI
  • Start date Start date
B

BenI

Hello,

I have a XML configuration file that uses ISO 8859-1 encoding.
I should have & characters to be like other alphanumeric characters.

How should I code & character in XML file? Plain & seems to throw Parsing
Exception.

I Can 't use UTF8.

Cheers!
 
While you're at it, you should also replace

' with ' (this is optional)
" with "
< with &lt;
 

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

Back
Top