Offspring at Parent's Re-Marriage

A child should not attend the wedding of a parent, such as if the parent gets married after divorce, after the death of first spouse, or if never married--or halachically married--before his/her child was born.