Creating an XML File The easiest way to create an XML file for use with the command line is to add, configure then export a Task. Alternatively, if you have knowledge of writing XML, an XML file can be created manually. MORE: For further details about exporting a Task, refer to Tasks > Exporting. MORE: For details about how elements are structured in an XML file, refer to Command Line XML > XML Structure.