Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Web Tools Guide
Previous Page Home Next Page

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 schema's properties, complete the following 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 Outline view, click Directives.
  3. In the Properties view, click the General tab.
  4. 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.
  5. 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.
  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.
  7. Click the Extensions tab if you want to add application information elements to your annotations of schema components. The Extensions page allows you to specify the schema and add XML content to your annotations.
  8. Click the Advanced tab if you want to define the following additional schema attributes:
    • Prefix for elements (elementFormDefault)
    • Prefix for attributes (attributeFormDefault)
    • Block default (blockDefault)
    • Final default (finalDefault)

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire