Open topic with left hand navigation
Attaching an XML Schema to an Excel Document
This topic provides detailed information on how to attach and
XML schema to an Excel document.
To
create a new layout file using Excel
- Open your Excel
document.
- Choose Data > XML > XML Source…
- On the XML Source task pane (which should appear
to the right of the application window), click XML
Maps… to display the dialog for attaching a schema file to your
workbook.
- If the schema
you need is not already in the list in the XML Maps dialog, click Add… to browse for the file.
- Select the schema
.xsd file corresponding to the
document or register for which you are creating the layout.
- When you open
the schema, a Multiple Roots dialog
box prompts you to select the root node. Select the element representing
the document.
- If a validation
warning is displayed, click Yes
to continue.
- Click OK
when you have finished adding XML maps to the workbook.