I am reading the input Excel file and in that i have 1 fields for the address.In that field the special character is coming which is (&).While i am going to parse this character (&) and trying to write it to the XML file at that time the character converts into the (&).
I want to remove the translated character (&) from the XML file and wants that it must remain as it was read from the Excel file and writtern as the (&) in the XML file.
http://WWW.GEVERS& converted to http://WWW.GEVERS&
if any body has any solution or any other code snippet,which would be appreciated.
Thanks,
Mishal Shah
If your data contains an ampersand — which apparently it does — then that ampersand has to be escaped as & if you put it in a text node in your XML document.
So it sounds like your XML software is behaving correctly. Why do you think you have to do anything about this? I don’t think you do.