首页 新闻 会员 周边

xml拼接节点

0
悬赏园豆:5 [待解决问题]

<SB_SC_EPMS_PageInquiryProjectConstructionInfoSrvResponse xmlns="http://eip.zte.com/sc/SB_SC_EPMS_PageInquiryProjectConstructionInfoSrv">
<ErrorFlag>N</ErrorFlag>
<ErrorMessage></ErrorMessage>
<TOTAL_RECORD />
<TOTAL_PAGE />
<PAGE_SIZE />
<CURRENT_PAGE />
<INSTANCE_ID>51760510</INSTANCE_ID>
<PageInquiryProjectConstructionInfoSrvOutputCollection>
<PageInquiryProjectConstructionInfoSrvOutputItem>
字段...
<PROJECTPURCHASELIST>子节点</PROJECTPURCHASELIST>
</PageInquiryProjectConstructionInfoSrvOutputItem>
...
</PageInquiryProjectConstructionInfoSrvOutputCollection>
</SB_SC_EPMS_PageInquiryProjectConstructionInfoSrvResponse>
我想拼接一个这样的xml节点,有没有建议,我用
XmlNode xmlNode = xmlDoc.CreateNode(XmlNodeType.Element,"SB_SC_EPMS_PageInquiryProjectConstructionInfoSrvResponse", "xmlns", "http://eip.zte.com/sc/SB_SC_EPMS_PageInquiryProjectConstructionInfoSrv");
xmlDoc.AppendChild(xmlNode);
拼出来的也不对

灬丶的主页 灬丶 | 初学一级 | 园豆:2
提问于:2018-09-28 15:49
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册