xml XML files are used to interpret, transport, structure and store data. It was designed with the aim of the generality of usage across all over the Internet.
docx In an effort to create an open document standard, Microsoft in collaboration with ISO/IEC and Ecma, developed the Office Open XML standard in 2006. One of the filename extensions supported in this specification is the .docx extension, a text document filename extension. The .docx was introduced in Microsoft Office Word 2007 and has been supported ever since in later iterations. It has become the default filename extension for all text documents produced using Microsoft Office Word. Given the open source nature of the XML specification, more alternative document processing applications support read and write capabilities on documents saved with the .docx filename extension. This is in comparison to the .doc filename extension which is a proprietary asset owned by Microsoft.