calculations xml