# Deleting XML schema components

In the XML schema editor, you can delete any of the XML schema components that you have created.

The following instructions were written for the Resource perspective, but they will also work in many other perspectives.

To delete an XML schema component, follow these steps:

1. Open your XML schema in the XML schema editor.
2. In the Outline view, click the item to delete.
3. Right-click the item, and, from its pop-up menu, click Delete.

The XML schema editor has a built-in mechanism to handle referential integrity issues. When you delete certain components, cleanup will automatically occur. Refer to the related reference section below for more information.

(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.