title: Parsing xml file contents without knowing xml file structure
body: <p>I've been working on learning some new tech using java to parse files and for the msot part it's going well. However, I'm at a lost as to how I could parse an xml file to where the structure is not known upon receipt. Lots of examples of how to do so if you know the structure (getElementByTagName seems to be the way to go), but no dynamic options, at least not that I've found.</p>
  
  <p>So the tl;dr version of this question, how can I parse an xml file where I cannot rely on knowing it's structure?</p>