Rename an XML map

When you add an XML map to a workbook, Microsoft Office Excel 2007 provides default XML map names in the following way: Root_Map, Root_Map1, Root_Map2, and so on. To avoid confusion, you may want to provide more meaningful names to the XML map, especially if you are working with more than one XML map.

  1. If the Developer tab is not available, do the following to display it:
    1. Click the Microsoft Office Button Button image, and then click Excel Options.
  1. In the Popular category, under Top options for working with Excel, select the Show Developer tab in the Ribbon check box, and then click OK.

 Note   The Ribbon is a component of the Microsoft Office Fluent user interface.

  1. On the Developer tab, in the XML group, click Source.

XML group

  1. In the XML Source task pane, click XML Maps.
  2. Click the XML map that you want to rename.
  3. Click Rename.
  4. Type the new name, and then press ENTER.
  5. Click OK.

The new name is displayed in the XML maps in this workbook list at the top of the XML Source task pane.

 Note    Because element names are based on the XML schema file (.xsd) or the inferred schema that Excel creates when you don't have an XML schema file, you cannot change the element names after you create an XML map.

 
 
Applies to:
Excel 2007