读书人

序列化的一个有关问题

发布时间: 2012-01-23 21:57:28 作者: rapoo

序列化的一个问题
<root xmlns:u1="***" xmlns:u1="***" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="u1 ../Schemas/u1.xsd u2../Schemas/u2.xsd">
</root>

如上的xml文件,

请问把对象序列化为xml的时候,要在root这个类中怎么设定生成的xml中才有
xsi:schemaLocation="u1 http://www.xxx.com.cn/Schemas/u1.xsd u2 http://www.xxx.com.cn/Schemas/u2.xsd"
这部分的内容

谢了。

[解决办法]
http://www.thescripts.com/forum/thread539595.html

读书人网 >C#

热点推荐