This is very simple question and something reasonable.
I am handling XML file through C# code. each XML file contains millions of records.
Inside the XML tag, some value contains special characters like "–". But, this doesn't allow to process in XML for inserting to SQL.
It's showing error like "illegal xml character"
How to handle such type of special characters....?
Example XML Tag below
<Employee EmpId="528496">
<NAME>JAMES–SS</NAME>
</Employee>
"DRUMS–SS" ==> "–"(Special character) and doesn't allow to process in SQL.
"DRUMS–SS" ==> "–"(Special character) and doesn't allow to process in SQL.
How to handle such type of special characters....?