+ Start a Discussion

Special characters in xml parsing



I am getting the xml data from one system which contains special characters like(&),i have to display xml data in popup window in apex.

The issue is that i am not getting data which is having special characters in xml using res.getbody() method.




Any suggestions are appreciated.

Manish Jha 1Manish Jha 1
Use stringName.replaceALL('&','&') before Displaying it on popup