Added XMLParser and addNode, printNode and printTree to XMLTree