Tuesday, February 28, 2017

Rename an XML map

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 Office button image , and then click Excel Options.

    2. 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.

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

    XML group in Ribbon

  3. In the XML Source task pane, click XML Maps.

  4. Click the XML map that you want to rename.

  5. Click Rename.

  6. Type the new name, and then press ENTER.

  7. 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.

No comments:

Post a Comment