XML-to-domain is used for XML import and maps the XML elements and attributes to Mendix entities and attributes.
Domain-to-XML is used for XML export.
Have you tried the documentation yet? Click 'documentation' on your top right and search for xml-to-domain and domain-to-xml mappings.