Triple X syndrome is not inherited, but usually, occurs as an event during the formation of reproductive cells (ovum and sperm).
Some females with triple X syndrome have an extra X chromosome in only some of their cells.