Probably you are using characters like '&' or ". You should use entities instead. Another posibility is that you have not set the proper encoding. Usually the encoding is: <?xml version="1.0" encoding="utf-8"?> Code (markup): But you can try with other encoding like: <?xml version="1.0" encoding="ISO-8859-1"?> Code (markup):