Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- XmlDocument doc = new XmlDocument();
- doc.Load(xmlFile);
- XmlNodeList nodeList = doc.SelectNodes("//Sample/Analysis");
- foreach (XmlNode node in nodeList)
- {
- string tgcode = node.Attributes.["TestGroupCode"].Value;
- string tmcode = node.Attributes.["TestMethodCode"].Value;
- string ananame = node.Attributes.["AnaName"].Value;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement