Updated to xmlgen-0.6.*. Implemented newline conversion.