Removed my own XML parser and implemented GDX.