You could try changing the '&' to '&'
I have a PT that generates an xml which includes special character like & n b s p ; How can I fix this issue so the xml is well formed.
sorry I didnt understand what you mean by using & instead of &. Also I wrote n b s p seperately so its displayed other wise it will just be a blank space.