This is a modified version of my XML Parser, changed to use a DOM tree.