I need to get plain xml, without the <?xml version="1.0" encoding="utf-16"?> at the beginning and xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" in first element from XmlSerializer. How can I do it?
I need to get plain xml, without the <?xml version=1.0 encoding=utf-16?> at the beginning
Share
To put this all together – this works perfectly for me: