Hi,
I am loading an xml file which results in the following string.
<AgentProductivity UseACDGroupID=\"true\"><EmployeeSelector>\r\n\t\t{|Employees|}
Further in the processinf this forms the input request into a webservice call.
The problem is the special characters, I have used the following:
xml = xml.Replace("\n", "").Replace("\r", "").Replace("\t", "");
xml= xml.Replace(@"\", "");
But when replacing '\' with space it doesn't work.
Is there a more elegant way to do this....?
Thanks in advance.
I am loading an xml file which results in the following string.
<AgentProductivity UseACDGroupID=\"true\"><EmployeeSelector>\r\n\t\t{|Employees|}
Further in the processinf this forms the input request into a webservice call.
The problem is the special characters, I have used the following:
xml = xml.Replace("\n", "").Replace("\r", "").Replace("\t", "");
xml= xml.Replace(@"\", "");
But when replacing '\' with space it doesn't work.
Is there a more elegant way to do this....?
Thanks in advance.