Editing XML schema file preferences

You can set various preferences for XML schema files such as the default target namespace and XML Schema language constructs prefix used.

To define XML schema file preferences, complete the following steps:

  1. Click Window > Preferences and select XML > XML Schema Files.
  2. Select the Qualify XML schema language constructs check box if you want a prefix applied to all XML Schema language constructs in your XML schema.
  3. In the XML schema language constructs prefix field, type the prefix you want applied to XML Schema language constructs in your XML schema. The prefix xsd is used by convention to denote the XML Schema namespace, but any prefix can be used. The purpose of the association is to identify the elements and simple types as belonging to the vocabulary of the XML Schema language rather than the vocabulary of the schema author.
    Note: This prefix will not appear in any schemas that currently exist - it will only appear in new schemas you create after you type the prefix and click Apply. Any schemas that already exist will have the prefix specified in the schema applied to the XML schema language constructs.
  4. You can change the Default Target Namespace value. The value specified in this field will be the default target namespace for any new XML schema files created.
  5. Click OK.