format teacher answer xml UI