开发者

nested XML into DataSet

How do I load the following nested XML into a DataSet?

 <Response>
  <Request>
    <Origin>NYK</Origin>
    <Destination>TOK</Destination>
  </Request>
  <Depart>
    <Fare>
      <Chargeable>
        <BaseFare>100</BaseFare>
        <Tax>10</Tax>
      </Chargeable>
      <Nonchargeable>
        <Charg开发者_Python百科e>10</Charge>
        <Add>15</Add>
      </Nonchargeable>
    </Fare>
  </Depart>
</Response>


you can use the XDocument for read xml,

http://www.xmlplease.com/read-xml-linq

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜