# Editing XML schema properties

After you create an XML schema, you can edit its various properties, such as its namespace and prefix.

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

To edit an XML schemas properties follow these steps:

1. Create a new XML schema or double-click an existing schema in the Navigator view. It will automatically open in the XML schema editor.
2. In the Properties view, click the General tab.
3. You can change the Prefix associated with the current namespace. Element and attribute names that are associated with this namespace will be prefixed with this value.
4. You can also edit the Target namespace for this schema. A namespace is a URI that provides a unique name to associate with all the elements and type definitions in a schema.
   1. Click Advanced if you want to add more namespace declarations to your XML schema.
5. Click the Other tab. You can modify the following values in this page.
   1. The attributeFormDefault value. Select qualified if you want attributes in an XML schema instance to be qualified by the prefix that is associated with the schema namespace; otherwise, select unqualified.
   2. The blockDefault value. This field determines whether the types or elements in the schema may be replaced by elements or types derived from them.
   3. The elementFormDefault value. Select qualified if you want elements in an XML schema instance to be qualified by the prefix that is associated with the schema namespace; otherwise, select unqualified.
   4. The finalDefault value. This field determines whether the types or elements in the schema may be derived from.
   5. The version value. Type the version number of the schema in the version field
   6. The xml:lang value. Type the appropriate ISO-IETF (for example, en-us) tag in this field. This tag may be inserted in documents to specify the language used in the contents and attribute values of any element in an XML file.
6. Click the Documentation tab if you want to provide any information about this XML schema. The Documentation page is used for human readable material, such as a description, and the App Info page can be used to provide information for applications.

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