I've written on this subject before, but it's worth repeating.
Children are not miniature adults.
They have different cognitive and emotional needs. Divorce affects them in profoundly different ways from how it affects you and me. Try hard to minimize the amount of change a divorce causes in your child’s life.