XML to CSV

is there an application that can be used to convert XML to CSV?


Posted on Apr 25, 2023 9:44 AM

Reply
7 replies

Apr 25, 2023 10:54 AM in response to Elizabeth DeBoer

As Keith states, Excel can open XML files but, in practice, it does a poor job of complex XML files - it can usually extract the headers, but the data is somewhat hit-or-miss, depending on the complexity of the data structure - your system already includes a load of XML files, so try opening the in Excel to see what you get.


That is despite the fact that XML is supposed to be unambiguous and portable.


If Excel can't handle your specific files, then you have a couple of other options - at the end of the day, XML is basically text, so it comes down to text parsing. There are also some XML-specific tools in AppleScript that can read an XML files into AppleScript lists, which can then be exported.


So, start with Excel. if you're lucky, you're set. Otherwise you'll need to dig deeper.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

XML to CSV

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.