Very simple and broken xml parser - personal project