basic XML communication with database completed