日期:2014-05-18  浏览次数:20928 次

关于序列化对象和命名空间的一个问题
<root   xmlns:sh= "me "   xmlns:sd= "other ">
      <sh:head> head </sh:head>
      <sd:document> </sd:document>
</root>


怎么定义一个类,序列化以后是以上xml的样子。。。

求指教~~~



------解决方案--------------------
up帮顶一下
------解决方案--------------------
http://msdn2.microsoft.com/zh-cn/library/system.xml.serialization.xmlnamespacedeclarationsattribute(VS.80).aspx