AF XML Export supports exporting object IDs in the XML and Import supports preserving them. It would be useful if the export could be optionally sorted by ID as this would allow comparing different version of the XML (i.e. AF database) using Git. AF XML only orders objects by name, so renaming an object would cause it to move within the XML file which means Git’s line-by-line change detection would show the object being deleted in the old place in the file and added in the new place. This will make it easier to identify changes between versions of the AF database and help move a database from Development to Test and to Prod.
Please also see my related feedback items:
XML Export/Import to Support Object Deletion
https://feedback.osisoft.com/forums/555148-pi-server/suggestions/38566315-xml-export-import-to-support-object-deletion
XML Export/Import to Support Object Moves
https://feedback.osisoft.com/forums/555148-pi-server/suggestions/36970357-xml-export-import-to-support-object-moves