oXygen XML Schema Editor offers powerful content completion support, a quick assist tool that is always ready to provide a helping hint, Components Presenter view, and multiple refactoring 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.
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.
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.
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 schemas. 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.
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.
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.
XML Schemas contain annotations for providing additional information, such as 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.
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.
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.
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.
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.
Two types of visual diagram are available for a schema: the Full Model view and the Logical 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).
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.
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.
Advanced options allow the user to customize different conversion parameters.
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.