A man has appeared in court charged with carrying out sexual offences against his now former wife over a 13-year period.