# Creating XML schemas

You can create an XML schema and then edit it using the XML schema editor. Using the XML schema editor, you can specify element names that indicates which elements are allowed in an XML file, and in which combinations.

To create an XML schema, complete the following steps:

1. Create a project to contain the XML schema.
2. In the workbench, click File > New > Other and select XML > XML Schema . Click Next.
3. Select the project or folder that will contain the XML schema. In the File name field, type the name of the XML schema, for example `MyXMLSchema.xsd`. The name of your XML schema must end in `.xsd`.
4. Click Finish.

The XML schema opens in the XML schema editor.
Related concepts
XML schema editor
Related tasks
Editing XML schema properties
Validating XML schemas