First attempt at an XML parser. Never run. Enjoy.