c# XML serialisation of child class - remove xmlns:p1 and p1:type attributes from root node -
using bog-standard system.xml.serialization.xmlserializer, serializing object who's class inherits another. inspecting resulting xml, root node being given attributes "p1:type" , "xmlns:p1":
<apisubmission apiversion="1" custid="100104" p1:type="orderconfirmationapisubmission" xmlns:p1="http://www.w3.org/2001/xmlschema-instance"> ... </apisubmission>
is there nice way remove these attributes?
Comments
Post a Comment