I have an XML and I have to parse that XML in C# code into the class objects. But in the XML there are some special characters in the attribute values like <, > &, ", etc. I have written the relace of these special characters with <, >, &, " etc.
But the problem is that < and > is replaced by < and > for the XML tag as well. Please help how to resolve this. I want this to be replaced for only XML tag values.