XML Schema(XSD) Editor

20:02
Developing XML Schemas

<oXygen/> XML Schema Editor offers powerful content completion support, a quick assist tool always ready to provide a helping hint, components presenter view, and multiple refactory actions.

W3C XML Schema documents can be edited and validated with <oXygen/>. The Quick Assist improves the development work flow by offering quicker access to the most commonly used actions during development of XML schemas.

XML Schema Editor

Easy Identification of XML Schema Component References

All the occurrences of an XML Schema component are highlighted in the text when you place the caret near the component name.

The occurrences bar from the right side of the editor displays a summary of the component references in the XML Schema file.

The component declaration is rendered with a darker color to make it easier to spot.

Component occurences highlighted into the XSL source

Content completion offers the list of components from included/imported XML schemas

XML Schema editing is made easier as you can insert references to components from other XML Schema files assisted by the content completion assistant. <oXygen/> automatically detects the modified included/imported schemas and adjusts the content completion list of proposals.

Rename Component - Schema Refactoring Action

This action allows renaming any schema component (element, type, group, named pattern, etc). The scope can be set to the current file, all the files in project or the set of files determined by include/import instructions staring with a specified file.

The rename refactoring support is available both on the XML Schema editor and on the Relax NG editor.

A preview option allows to review and approve the changes that will be made on multiple schemata. The changes are presented in a side by side synchronized view that compares the initial version with what will result after applying the refactoring action.

Find References and Declarations of XML Schema Components

You can find either declarations or references of XML Schema components. The search scope can be the current file, the current project or a group of files.

Content Completion Shows the Schema Documentation

Content completion

When you are editing an XML schema, <oXygen/> helps you with a schema-driven content completion assistant which also displays documentation for the element and attribute proposals.

Custom schema for XML Schema annotations

XML Schemas contain annotations for providing additional information like documentation or application specific information. For instance a schema can contain documentation for its components in XHTML or can contain Schematron embedded rules. You can specify a schema for these annotations and <oXygen/> will use that for providing content completion proposals, thus facilitating the editing support.

Schema Model View

Schema Model View

The Model View provides schema related information for the document elements and attributes. The content model, the element type, the attributes, the attribute type and constraints are presented in a compact manner giving you the insight of the document schema while editing or browsing the document.

Link to specification for XML Schema error

XML Schema spec

<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.

Flatten an XML Schema

Sometimes it is useful to aggregate the set of files that compose an XML Schema into a single file. The Flatten Schema refactoring action allows you to make this change. The action handles also xs:redefine elements by assigning an unique name to each redefined type or group.

Visual Schema Text Editor

<oXygen/> offers a side by side presentation of the schema source and diagram. The diagram is synchronized in real time with the source editor: selecting an element in the diagram highlights the corresponding element in the source editor, while moving the caret in the source editor changes the selection in the diagram view. You can enable the side by side diagram from the <oXygen/> Preferences.

The schema diagram renders all the XML Schema components and allows you to quickly navigate to the referred definitions of elements, attributes, types, groups etc.

Visual XML Schema Editor
Logical Model View

Two types of visual diagram are available for a schema: the Full Model View and the Logical Model View.

  • Full Model View

    The Full Model View provides a one-to-one correspondence between the schema components and the graphical nodes. References to different components can be expanded in place in the diagram (for instance element or attribute references or base types).

  • Logical Model View

    The Logical Model View displays a more compact diagram obtained by resolving the references, type extensions and type restrictions, redefinitions etc.

A list with the defined schema components (elements, attributes, simple and complex types, groups and attribute groups) presented in the Outline View simplifies the navigation through large schemas.

The smooth editing and the clear and suggestive rendering make schema editing more fun and easier than ever.

The Visual Schema Editor is integrated in the <oXygen/> standalone distribution and the Eclipse IDE plugin. It is activated when opening an XSD (XML Schema) file.

Editing actions are available on the full model view allowing the addition of new child or sibling elements on the fly so that the schema remains valid.

The diagrams can be made smaller or larger depending on the zoom settings of the font size. These settings are taken into account when the diagram is printed.

Converting Between Grammar Languages

The converter allows you to convert a DTD or Relax NG (full or compact syntax) grammar or a set of XML files to an equivalent XML Schema, DTD or Relax NG (full or compact syntax) grammar. Where perfect equivalence is not possible due to limitations of the target language, <oXygen/> generates an approximation of the source grammar.

Convert to ...

Advanced options allow the user to customize different conversion parameters.

Advanced options

XML Schema Regular Expressions Builder

XML Schema Regular Expressions Builder

The regular expressions builder helps you construct and test regular expressions allowed in XML Schema restriction patterns.

<oXygen/> provides a set of regular expression patterns organized in categories and a test area for checking the instances accepted by the expression. Content completion assistant provides an additional level of support when editing in the regular expressions editor.

Video Tutorials
Upcoming Events
DITA-OT Day 2014
DITA-OT Day 2014
November 20, 2014
Munich, Germany
" oXygen XML Editor is the premier text editor for XML geeks, and an indispensable tool for O'Reilly's Production group. My team uses oXygen XML Editor for everything from simple XML editing to Schema validation and XSLT transformations. The digital production staff especially loves oXygen's built-in EPUB support, which eliminates a great deal of the grunt work that is usually entailed in editing EPUB files. The more we use oXygen, the more realize what a powerful tool it can be in digital and XML-based workflows."
Adam Witwer
Director of Content and Publishing Operations
O'Reilly Media