I am creating dynamic xml file to mysql data.
In that, Mysql data so many special character and &,<>...etc are there.
If you display these all things in browser,there is no problem it will display properly.
Coming to the xml, If you display in xml it's showing errors.not displaying properly.In that content,so many special chars and unknown symbols are coming.If i display content in xml, i want to get pure content(human readable) same like as a html data.
can you please solve this problem...