The X-rays attenuation coefficients for Cu, In and Se in elemental state and the semiconductor CuInSe2 were measured at 15 different energies from 11.9 to 37.3keV by using the secondary excitation method. Monochromatic photons were obtained using the following secondary targets: Br, Sr, Mo, Cd, Te and Ba. 59.5keV gamma rays emitted from an annular 241Am radioactive source were used to excite secondary target and X-rays emitted from secondary target were counted by a Si(Li) detector with a resolution of 0.16keV at 5.9keV. A method to determine the thickness of thin film with XRF is described. Additionally, the effect of absorption edges on effective atomic numbers and their variation with photon energy in composite semiconductor sample was discussed. Obtained values were compared with calculated values.