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:
- Create a new XML schema or double-click an existing schema in the
Navigator view. It will automatically open in the XML schema editor.
- In the Properties view, click the General tab.
- 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.
- 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.
- Click Advanced if you want to add more
namespace declarations to your XML schema.
- Click the Other tab. You can
modify the following values in this page.
- 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.
- The blockDefault value. This
field determines whether the types or elements in the schema may be replaced
by elements or types derived from them.
- 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.
- The finalDefault value. This
field determines whether the types or elements in the schema may be derived
from.
- The version value. Type the
version number of the schema in the version field
- 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.
- 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.