Documente Academic
Documente Profesional
Documente Cultură
html
Excel Easy
#1 Excel tutorial on the net Excel Introduction Basics Functions Data Analysis VBA 300 Examples Ask us
XML
You can convert your Excel file to an XML data file, or vice versa. This enables you to exchange data between
Chapter
different applications. First, turn on the Developer tab.
Embed
Share Workbooks
SkyDrive
Web App
Microsoft Query
XML
1 of 9 08-11 05:50 PM
Excel to XML - Easy Excel Tutorial http://www.excel-easy.com/examples/xml.html
data-set.xls
Start Download
Open Documents Start Download XML Files
Here! schema.xml
data-set.xml
First, we will create a schema based on XML source data. The schema defines the structure of the XML file. We
have to do this outside Excel.
Note: the tags refer to the column names, but you can give them any name you want! For example, instead of
LastName use Name.
2 of 9 08-11 05:50 PM
Excel to XML - Easy Excel Tutorial http://www.excel-easy.com/examples/xml.html
3. Open data-set.xls.
3 of 9 08-11 05:50 PM
Excel to XML - Easy Excel Tutorial http://www.excel-easy.com/examples/xml.html
4 of 9 08-11 05:50 PM
Excel to XML - Easy Excel Tutorial http://www.excel-easy.com/examples/xml.html
6. Click Add...
8. Now simply drag (map) the 4 elements from the tree onto the worksheet (row 1).
5 of 9 08-11 05:50 PM
Excel to XML - Easy Excel Tutorial http://www.excel-easy.com/examples/xml.html
6 of 9 08-11 05:50 PM
Excel to XML - Easy Excel Tutorial http://www.excel-easy.com/examples/xml.html
Result:
7 of 9 08-11 05:50 PM
Excel to XML - Easy Excel Tutorial http://www.excel-easy.com/examples/xml.html
8 of 9 08-11 05:50 PM
Excel to XML - Easy Excel Tutorial http://www.excel-easy.com/examples/xml.html
Note: to import an XML file, open a blank workbook, on the Developer tab click Import, and select the XML file.
9 of 9 08-11 05:50 PM