xml 添加xsi:schemaLocation 属性

前端之家收集整理的这篇文章主要介绍了xml 添加xsi:schemaLocation 属性前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。


  1. DimschemaLocationAsXmlAttribute=XmlDoc.CreateAttribute("xsi","schemaLocation","http://www.w3.org/2001/XMLSchema-instance")
  2. schemaLocation.Value="urn:HouseBillOfLading-1.0C:\documentschema\main\maindoc\HouseBillOfLading-1.0.xsd"
  3. EleBody.Attributes.Append(schemaLocation)

  1. c#自己写吧我觉的差距不咋大
原文链接:https://www.f2er.com/xml/299511.html

猜你在找的XML相关文章