Importing XML Data Into Excel

  Рет қаралды 94,428

Peter Staadecker

Peter Staadecker

3 жыл бұрын

Web pages sometimes provide data as XML files rather than in a convenient format for Excel spreadsheets.
This video shows you how to save XML files, how to reveal their structure (the schema), how to map XML data fields to Excel column headings and how to import the mapped data into Excel.
I hope it's helpful.

Пікірлер: 5
@peterstaadecker
@peterstaadecker 3 жыл бұрын
I had a couple of offline questions about this: 1. Why not just do a cut and paste from the screen data to Excel? A: This some times works, but not always. It depends on the source page design and the amount of data. In the case of my sample web page, it's painful: Excel treats the date column as different data types in different parts of the cut and paste and you have a ton of clean-up work to do. 2. Aren't the mapping and schema separate items? A: Correct. I should have been more precise in my video commentary. The schema describes how an XML file structures its data, the mapping tells you which part of the XML structure belongs in which column of Excel.
@ramehharmouch5300
@ramehharmouch5300 2 жыл бұрын
Hello, I want to ask you, if i have an excel file mapped to an xml map. When i save the file as xml, the empty cells of the excel are not created in the xml file. So, how can i edit the xml to create empty xml tags for the empty elements in the excel file? Thank you in advenced.
@peterstaadecker
@peterstaadecker 2 жыл бұрын
Hi Rameh - it sounds like you're going in the opposite direction: Excel to XML. Is that right? Can you do a very scaled-down concrete test case to show me and other readers the details of what you're doing and what is not working? Maybe other readers or I will have some insight then. Thanks.
@ramehharmouch5300
@ramehharmouch5300 2 жыл бұрын
@@peterstaadecker if you create new file excel, customize the ribbon and add developer option. After that create an xml file for example (fname, minit, lastname) inside two block of xml files. From excel, navigate to developer on the xml part click import to import the created xml file that include 2 blocks of xml tags. Drag the created tree of xml into the excel lines, it appear like a table on the excel lines, and file the table with data, click export in the xmlpart on the developer tab. If you open the file, you will see you're data filled, appeared in the xml file. But when you fill the data in excel if you leave a cell of the mapped xml empty, and you export as xml. The new exported xml file not include empty tag for the field that is not filled. It is not appear totaly, which make an error if you need to import the map into another excel file. So is there any solution for that?
@peterstaadecker
@peterstaadecker 2 жыл бұрын
Hi Rameh, I won't have time to play with that scenario for a while. In the meantime, perhaps one of the other readers may have an answer - throwing it open to anyone who has an answer.
XML Tutorial for Beginners | What is XML | Learn XML
6:39
Clever Techie
Рет қаралды 368 М.
Маленькая и средняя фанта
00:56
Multi DO Smile Russian
Рет қаралды 5 МЛН
1❤️
00:20
すしらーめん《りく》
Рет қаралды 32 МЛН
Why? 😭 #shorts by Leisi Crazy
00:16
Leisi Crazy
Рет қаралды 46 МЛН
Fetching and Reading XML Data
15:06
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 115 М.
How to use Microsoft Power Query
16:35
Kevin Stratvert
Рет қаралды 1,8 МЛН
Properly Convert PDF to Excel
11:28
Leila Gharani
Рет қаралды 999 М.
Web Scraping in Google Sheets! (IMPORTXML FUNCTION)
7:32
Dividendology
Рет қаралды 77 М.
XML Schema (XSD) Beginner Tutorial with Demo
9:44
Automation Step by Step
Рет қаралды 331 М.
Introducing Python in Excel
19:01
Leila Gharani
Рет қаралды 1,4 МЛН
3 Essential Excel skills for the data analyst
18:02
Access Analytic
Рет қаралды 1,4 МЛН
IPad Pro fix screen
1:01
Tamar DB (mt)
Рет қаралды 11 МЛН
Дени против умной колонки😁
0:40
Deni & Mani
Рет қаралды 8 МЛН
Which Phone Unlock Code Will You Choose? 🤔️
0:14
Game9bit
Рет қаралды 12 МЛН