标签: python xml parsing xml-parsing
http://www.massdot.state.ma.us/feeds/MARoadwayEventsXML.aspx
import arcpy import xml.etree.ElementTree as etree xmlD = etree.parse("C:\data.xml") root = xmlD.getroot()