align xml output to schemas