fixed xml output structure