I am trying to build a xml. I am getting error when trying to build with a string which has “&” in it like(Apple & Orange). I would appreciate if someone can suggest me to solve this issue. Thanks...
Hi!
Try place the offending data, that is the string containing the & character, in a CDATA section.
For examples and more in-depth explanation, see http://www.w3schools.com/xml/xml_cdata.asp Best wishes!