The following sections contain the steps to configure the export of data to an XML file, and how the XML file can be set up to include custom fields. The XML file itself, and the following output instructions, are divided into separate sections based on the document type.