Guidance on Importing XML into Excel (or Access)

Threazy

New Member
Joined
May 22, 2012
Messages
13
I know that Excel has options for importing XML files, but I am having some issues. Specifically, I would like to import my iTunes library XML file and get my music data into an Access database I've constructed. The xml file is very large, however (80M), and it is based on a very simple Apple DTD rather than an XML Schema. The records are all very simple - a sequence of key-value pairs:

Code:
<key>3130</key>
  <dict>
    <key>Track ID</key><integer>3130</integer>
    <key>Name</key><string>Walking on Sunshine</string>
    <key>Artist</key><string>Katrina & the Waves</string>
    <key>Album Artist</key><string>Various Artists</string>
    <key>Composer</key><string>Kimberley Rew</string>
    <key>Album</key><string>Like, Omigod! The 80s Pop Culture Box (Totally)</string>
    <key>Genre</key><string>Rock/Pop</string>
Does anyone have any recommendations on how to get this data into an Excel spreadsheet (or access table)?

P.S. If anyone has suggestions on how to extract ID3 values from the mp3 files, I could use that info, too - the data in this xml file is only some of the data that iTunes knows about the music.
 
Last edited:

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Forum statistics

Threads
1,214,987
Messages
6,122,614
Members
449,091
Latest member
gaurav_7829

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top