XML file requirements

When creating custom .xml files, note the following requirements:

  • The file must be in Unicode Transformation Format-8 (UTF-8). Save the file in this format and the following syntax must be specified at the beginning of each .xml file:

    <?xml version="1.0" encoding="UTF-8"?>
    
  • The file must have a unique migration URL ID. The URL ID of each file that is specified on the command line must be different. If two migration .xml files have the same URL ID, the second .xml file that is specified on the command line isn't processed. The second file isn't processed because USMT uses the URL ID to define the components within the file. For example, the following syntax must be specified at the beginning of each file:

    <?xml version="1.0" encoding="UTF-8"?>
    <migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/<CustomFileName>">
    
  • Each component in the file must have a display name in order for it to appear in the Config.xml file. This condition is because the Config.xml file defines the components by the display name and the migration URL ID. For example, specify the following syntax:

    <displayName>My Application</displayName>
    

For examples of custom .xml files, see Custom XML examples.