Python's xml.etree getiterator equivalent to C#

后端 未结 2 1138
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-24 08:44

I have this XML file : http://dl.dropbox.com/u/10773282/2011/perf.xml

\"enter

It h

2条回答
  •  抹茶落季
    2021-01-24 09:02

    Try:

    using System.Xml;
    // ...
    XmlDocument xmlDoc = new XmlDocument();
    xmlDoc.Load(filename);
    var matches = xmlDoc.SelectNodes("//Class/ClassKeyName");
    

提交回复
热议问题