The Python Oracle

How to parse XML and get instances of a particular node attribute?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Unforgiving Himalayas Looping

--

Chapters
00:00 Question
00:32 Accepted answer (Score 895)
01:28 Answer 2 (Score 467)
02:06 Answer 3 (Score 265)
02:35 Answer 4 (Score 108)
03:42 Thank you

--

Full question
https://stackoverflow.com/questions/1912...

Accepted answer links:
[ElementTree]: http://docs.python.org/library/xml.etree...
[lxml]: https://lxml.de/parsing.html
[XML]: http://docs.python.org/library/xml.etree...
[ElementTree]: http://docs.python.org/library/xml.etree...

Answer 2 links:
[minidom]: https://docs.python.org/3/library/xml.do...

Answer 3 links:
[BeautifulSoup]: http://www.crummy.com/software/Beautiful.../

Answer 4 links:
[cElementTree]: http://effbot.org/zone/celementtree.htm
[cElementTree]: http://effbot.org/zone/celementtree.htm
[@jfs]: https://stackoverflow.com/questions/1912...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #xml

#avk47