I'm trying to attach a simple xmlattribute to xmlelement with the following code:
XmlElement acct_name = xdoc.CreateElement("ACCT_NAME");
XmlAttribute att = xdoc.CreateAttribute("value");
att.InnerText = "GBSID";
In the output though it has "\"
<ACCT_NAME value=\"GBSID\" />
Can someone pls advise why this is occuring?