Add an XML Map to an Excel Workbook
There are 2 sources for XML maps I know of:
1.You have a copy of the XML data you wish to map (XML file)
2.You know the location of the XML’s schema (XSD file)
In both cases, it’s simply a matter of pointing Excel to either location. In the first case Excel guesses at the Map, in the latter it uses the data in the Schema to create the map.
For this example lets assume we want to Create a Map for the XML data returned from the Yahoo Web Search Service.
This is a good example to demonstrate each method becuase they have a sample of the XML data available, and they also have the Schema available, and both work to create the Map.
Note: Keep in mind the XML or XSD files need not be at a url address, they can be saved on your local drive.
Create a Map in Excel
1. On the main menu goto Data->XML->XML Source
2. Click the XML Maps Button

3. In the newly opened dialog box click the Add button

4. Enter the location of the XSD or XML file you wish to Map

Note: If you are trying to paste the URL into the File Name box, you can’t right click in the box, you must use the paste shortcut (Ctrl-V)
5. Click the OPEN button.
That’s it, you should have an XML Map in your workbook based on the XML or XSD file you designated. Here’s what the map I just added looks like:

Get answers right away at our AE Excel Support Forums!



I have a column of text data that I import into a single column of my spreadsheet – 1st data element into A1 the second into A2 and so on upto the 860th element into A860. Each of these cells are mapped to cells in multiple excel sheets. I have created an XML file with this data
XML headings
data1
data2
..
data860
XML trailer
When I click on this file the XML data is displayed column wise correctly.
But when I try to import this data into Excel I cannot see how to create a schema that will preserve the data as a single column – it always imports it either as a two rows A001 in A1 and a data cell in A2 or it create a table with data in A1, B2 … and so on.
How do I create a simple schema to import XML data into a single column (with no headings or tags – just the data?
This is really driving me nuts!!!