function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
navinnavin 

Special characters in xml parsing

Hi,

 

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