Cracking my head to parse out this nested xml, im using the XmlNodeList lists = doc.SelectNodes method, problem is it cannot go to the next DRSites node.
<FileInfo>
<DRSites>
<ASite>X3Os</ASite>
<SSite>SS</SSite>
<tots>
<tot>
<totno>abx12</totno>
</tot>
<tot>
<totno>cde</totno>
</tot>
</tots>
</DRSites>
<DRSites>
<ASite>xya</ASite>
<SSite>mne</SSite>
<tots>
<tot>
<totno>ew34</totno>
</tot>
<tot>
<totno>fdf5435</totno>
</tot>
</tots>
</DRSites>
</FileInfo>
No comments:
Post a Comment