avid.common.artefact.fileHelper.save_artefacts_to_xml
- avid.common.artefact.fileHelper.save_artefacts_to_xml(filePath, artefacts, rootPath=None, savePathsRelative=True)
Saves any container with artefacts as a XML file. @param filePath Path where the artefacts file should be stored. @param savePathsRelative If true all pathes will be stored as relative path to the passed root path. If rootPath is not set, it will be the directory of filePath @param rootPath If defined any relative url in the list will expanded by the root path.