Pulse height measurements and electron attachment in drift chambers operated with Xe,CO2 mixtures