Having a sex change could end your marriage+

Can a sex change end your marriage – legally?