Tried to make the xml output work (seems like it wont ever work like this)