How to: Create and Edit an XSD Schema File
This topic describes how to create a new XML Schema (XSD) file and then add content to the XSD file.
To create a new XML Schema file
In Visual Studio, open the File menu and select New and then File. Or, use the CTRL+N keyboard shortcut.
In the New File dialog box, select XML Schema and click Open.
A new file is created. The Start View and an empty XML Schema Explorer window appear in Visual Studio.
To edit a file
Click the Use XML Editor to view and edit the underlying XML Schema file link on the Start View.
The XML Editor appears with the new file open.
Copy the XML Schema sample code from Purchase Order Schema and paste it to replace the code that was added to the new XSD file by default.
The XML Schema Explorer is updated with the new schema set.