The trick with XML is to learn XSLT. The trick with that is it's really a weird language that uses recursion and acts almost functional, but not. But if you learn that, you don't have to parse anything because you just "style" the xml.
Here's a silly playground I wrote to show my students XML.
Here's a silly playground I wrote to show my students XML.
http://xslteatime.herokuapp.com/
There's a pre-built example you can run.