开发者

How to write xml schema for this xml file

<?xml versio开发者_如何学运维n="1.0" encoding="utf-8" ?>  
  <ConnectionConfig>
      <Machine Ip="192.168.0.7">
          <ConnectionString>Data Source=TWO;Initial Catalog=Freight;User ID=sa;Password=f5tech</ConnectionString>
      </Machine>
    </ConnectionConfig>


You could use the xsd.exe utility. Save this to a xml file and:

xsd.exe test.xml

This will infer the schema from the xml file.


I use the Microsoft XML to Schema Tool for Visual Basic 2008

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜