How to extract information after a node in XML with Python?
问题 I have the following XML structure (very large file, many more person entries) <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE population SYSTEM "http://www.matsim.org/files/dtd/population_v6.dtd"> <population desc="Switzerland Baseline"> <attributes> <attribute name="coordinateReferenceSystem" class="java.lang.String" >Atlantis</attribute> </attributes> <!-- ====================================================================== --> <person id="10"> <attributes> <attribute name="age" class=