I had to write some code for an interview, to print out the name attribute of each node. I started off going in the wrong direction, so I didn't get to finish. I wanted to finish writing the code, so I created my a console app similar to what they had a button event doing. Please let me know what you think of the code and what I can do better.
