开发者

nested XML into DataSet

开发者 https://www.devze.com 2023-03-06 12:39 出处:网络
How do I load the following nested XML into a DataSet? <Response> <Request> <Origin>NYK</Origin>

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

精彩评论

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