xyrest.doc