This explains the whole process....
http://www.bmwusa.com/Standard/Content/Uniquely/BMWEfficientDynamics/ExploreAdvancedDiesel.aspx#How_Diesel_Works
I know how diesels work but CO2 is an unavoidable by product of hydrocarbon combustion.
My comment was directed at your statement that the exhaust only includes oxygen and nitrogen...