https://blog.csdn.net/hju22/article/details/85111071
>>> from xml.dom import minidom
>>> root = dom.documentElement
>>> names = dom.getElementsByTagName("loc")
>>> for i in range(len(names)):
... print(names[i].firstChild.data)
https://blog.csdn.net/hju22/article/details/85111071
>>> from xml.dom import minidom
>>> root = dom.documentElement
>>> names = dom.getElementsByTagName("loc")
>>> for i in range(len(names)):
... print(names[i].firstChild.data)