This answer is the same for you, as well as @Alex, @Michael and forty-two. I illustrate this with Excel 2010, so if you are using a different version, I will leave it for you to make the necessary adjustments.
First, make sure that the tab is displayed on the developer's tab (tab "File", "Options").

Now you need to create an XML source from your XSD: click on the "Developer" tab; in the XML group, switch the "Source" button to display the "Xml Source" taskbar; then click the "XML Maps" button.

Click the "Add" button at the invitation; point to the XSD file; then click “OK” to return to the main screen.

Then you can drag your shipOrder into a cell on the sheet to bind the generated mapped table.

Then you can use “Import” to get the XML data in the spreadsheet and “Export” to get it. There are a few more things to watch out for; read this article on the Microsoft website ; Pay particular attention to problems with exporting XML data (XML error maps in my book are not exported). This is due to 1 many capacities between shiporder and item. You can try to deal with this using mapped ranges - I will leave it all up to you. It would be best to read the online help for the XML Developers section ...
Petru gardea
source share