Importing and Exporting of XML file through AX2012

Can any one help me how to Import and export xml data or in xml through code in ax2012

step by step procedure

through configuration till coding to integrate it?

thanks

importing and exporting XML file through code