Visual XML Schema Diagram Editor

07:09
XML Schema Editing

XML Schemas enable document designers to specify the allowed structure and content of an XML document. oXygen provides a powerful and expressive Schema Diagram mode for editing XML Schemas.

The structure of the diagram is designed to be intuitive and easy to use. The XML Schema diagram helps both content authors who want to understand a schema and schema designers who develop complex schemas.

Visual XML Schema Diagram Editor

In-place Editing

You can edit XML Schema components features directly in the diagram, for instance the component name, its type, etc. Valid proposals are offered in the contextual menu allowing you to easily insert new components in the current context.

Drag and Drop Editing

You can design your schema in the XML Schema diagram by using drag-and-drop to move, copy or make references.

Palette View

03:49
Schema Palette

The Palette view enhances even further the usability of the XML Schema diagram builder by allowing you to drag components from this helper view and drop them into the Design page.

Palette View

XML Schema Outline View

The Outline view for XML Schema presents the XML schema components from the current schema and from the included and imported schemas. All the global components can be sorted by name and grouped by type, location and namespace.

Outline View

If you need to find a component, you can search for it by typing its name into the outliner filter text field.

The Outline view is drag and drop enabled, allowing you to move or create references to XML Schema components by dragging them into the diagram.

oXygen provides the support for defining the main module (or modules) of a complex multi-module XML Schema, thus allowing you to edit any of the imported/included schema files in the context of the larger schema structure.

Attributes View

The Attributes View provides an easy way to edit attributes for all XML Schema components. You can choose valid values from a list or you can specify your own values. If an attribute has an invalid value it will be highlighted in the table so you can easily spot the error and fix it.

Attributes View

Facets View

Using the Facets View you can easily check the existing facets of the current simple type (including the default facets), edit values or add patterns and enumerations. If a facet has an invalid value it will be highlighted in the table.

Facets View

XML Schema Validation

You can ensure the XML Schema you develop complies with the W3C standard by using one of the validation engines distributed with oXygen: Xerces or Saxon-EE validator. oXygen can also be configured to use an external XML Schema validator.

oXygen provides the support for defining the main module of a complex XML Schema, thus allowing correct validation of a module in the context of the larger schema structure.

Visual Error Markers

When an editing action introduces an error the XML Schema validator signals it by painting in the diagram the border of the component containing the error with red.

XML Schema Validator

oXygen is the first XML editor that links the error directly to the part of the specification that explains it. The error messages contains an information field that will open the browser on the "XML Schema Part 1:Structures" specification at exactly the point where the error is described. This allows you to better understand the error message.