Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>This answer is equally for you as well as @Alex, @Michael and @forty-two. I am illustrating it using Excel 2010, so if you're on another version, I'll leave it up to you to make the necessary adjustments.</p> <p>First thing, make sure the developer tab shows (Click the File tab, Options).</p> <p><img src="https://i.stack.imgur.com/xR8dI.jpg" alt="Excel 2010 options for Developer tab"></p> <p>You now have to create an XML source from your XSD: click the Developer tab; in the XML group, toggle Source button to show the Xml Source task pane; then click the XML Maps button.</p> <p><img src="https://i.stack.imgur.com/8MAxi.jpg" alt="Excel showing key UI elements for creating an XML map"></p> <p>Click Add button at the prompt; point to the XSD file; then click OK to go back to the main screen.</p> <p><img src="https://i.stack.imgur.com/zlJOg.jpg" alt="Excel showing XSD loaded in an XML map"></p> <p>Then you can drag and drop your shipOrder to a cell in a worksheet, to anchor the generated mapped table.</p> <p><img src="https://i.stack.imgur.com/4YbuK.jpg" alt="Excel showing mapped XSD"></p> <p>Next, you may use Import to get your XML data into the spreadsheet, and Export to get it out. There are a couple of additional things to pay attention to; read <a href="http://office.microsoft.com/en-us/excel-help/export-xml-data-HP010206401.aspx" rel="noreferrer">this article on Microsoft's site</a>; pay particular attention to the issues with exporting XML data (error XML maps in my workbook are not exportable). This is because of the 1 to many cardinality between shiporder and item. You can try to handle it using mapped ranges - I'll leave this all up to you. The best would be for you to read the online help for the XML developer section...</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload