The sensitivity of total reflection X-ray fluorescence analysis (TXRF) is higher than normal X-ray fluorescence analysis (XRF). The cells of lung cancer and cervix cancer were researched before apoptosis and after apoptosis employed the method of TXRF on new transformed synchrotron radiation XRF experimental station of new 3W1A beam line which built on Beijing Synchrotron Radiation Facility (BSRF) of BEPC (new detector and spectrometer systems). We acquired their fluorescence spectrum of various elements before apoptosis and after apoptosis. We discovered there were interesting results that changes even remarkable changes of some elemental contents had occurred in these cells before apoptosis and after apoptosis. These alterations of elemental contents have served an inspiration for us: if their regularities of change are found, we will hope that some contributions would be done at the treatments of cancer.