# Editing your namespace information

Your namespace information is used to provide various information about the XML file, such as the XML schema it is associated with.

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

To edit your schema information, follow these steps:

1. In the Design view of the XML editor, right-click your root element and click Edit Namespaces.
2. Your XML file may be associated with more than one namespace or schema. Select the entry you want to edit and click Edit.
3. The value in the Namespace Name field is a namespace the XML file is associated with. Your XML file should be associated with the same namespace(s) its XML schema is associated with. For more information about namespaces, refer to the related reference.
4. All qualified elements and attributes in the XML file associated with the namespace will be prefixed with the Prefix value.
5. The Location Hint field contains the location of the XML schema the XML file is associated with. An XML Catalog Key or a namespace name can be specified in this field. Click Browse to view all XML schemas in the workbench and XML Catalog.
6. Click OK, then click OK again.

If you want to create a new association, click Add instead of Edit. You can then either click the Specify From Registered Namespace radio button and select the namespace declarations you want to add or click the Specify New Namespace radio button and fill in the fields as necessary.

Related concepts
XML file associations with DTDs and XML schemas

Related tasks
Editing with DTD or XML schema constraints
Updating XML files with changes made to DTDs and schemas

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