Oxygen XML Editor

From Wikipedia, the free encyclopedia

The <oXygen/> XML Editor is a multi-platform XML editor, XSLT/XQuery debugger and profiler with Unicode support. It is a Java application, so it can run in Windows, Mac OS X, Linux. It also has a version that can run as an Eclipse plugin.

Contents

[edit] XML editing features

[edit] Editing with schemas

OxygenXML offers XML tag completion for documents associated with an XML schema. In particular, this includes DTDs, XML Schema (W3C) (WXS), and RELAX NG. For schema languages that do not have a set mechanism for binding a schema to a particular document, OxygenXML can add a processing instruction to the document to make this connection. The editor can infer the structure of a document and generate a DTD from it.

OxygenXML ships with a number of documentation-centric schemas, such as various versions of DocBook, TEI, and XHTML.

Additionally, annotations in the schema will be displayed as tooltips for the elements that those annotations apply to.

[edit] Grid view

For XML formats for which this would be an advantage, OxygenXML offers a grid view of an XML document. The grid view attempts to show the document in a spreadsheet-like manor, with a sequence of elements at a particular depth as rows, and the sequence of element contents of those elements as columns.

[edit] Validation

OxygenXML provides for validation of an XML document against a number of schemas. W3C XML Schema, DTD, RELAX NG, Schematron, NVDL are all included. WXS and RELAX NG schemas can also have Schematron rules associated with them. During validation, XInclude directives can also be processed, which allows the user to build and validate compound documents.

[edit] XSLT editing

OxygenXML automatically associates documents with a .xsl or .xslt extension as XSLT documents, providing both content completion for them and specialized validation services. OxygenXML's XSLT validation will process the XPath expressions and determine if they are valid or not.

OxygenXML supports XSLT 1.0 and 2.0.

[edit] Schema documents

OxygenXML has schema-document editing facilities. It can diagram a schema while editing, though it does not provide drag-and-drop schema editing. It can validate schema documents as well. Any of the kinds of schema languages that it can validate an XML document against it can also edit. It also has support for RELAX NG's compact syntax, which is not an XML language.

[edit] Other formats

Though OxygenXML's primary purpose is to be an XML editor, it can handle certain other document formats related to XML technologies. These include CSS, XQuery, HTML and various programming languages. In the case of CSS and XQuery, it can validate these non-XML languages, as well as provide content completion where appropriate.

[edit] Document transformation

OxygenXML has significant support for transforming documents by either built-in XSLT transforms or by user-defined XSLT transformations. These transformations are defined by a transform scenario, which defines the location of the XSLT to transform against, the document to transform (which may be the currently active document), XSLT parameters to pass to the document, and what the output filename and location should be. When adding XSLT parameters, OxygenXML will load the XSLT document(s) and only display valid parameters that the XSLT will use.

To support XSL-FO, a transform scenario can specify that a FO processor will execute on the output of the XSLT. This tells OxygenXML that the XSLT produces an intermediate format, and the final output filename should refer to the output of the FO processor. The user can use the built-in FO processor for OxygenXML (Apache FOP) or use a user-defined processor. While semantically, this step specifies a FO processor, it can be any user-defined process.

All of these parameters are saved with the scenario, so that they need not be specified multiple times. Scenarios may be saved globally or locally to a specific OxygenXML project.

OxygenXML comes with a number of prebuilt transformations for DocBook (though DocBook XSL), TEI, and a few other kinds of formats.

[edit] XSLT debugger

OxygenXML comes with an XSLT debugger. It offers features comparable to source code debuggers like gdb. This includes breakpoints, the ability to look at the current context and "memory", single-stepping through the XSLT, and so forth.

[edit] Licensing

The Oxygen license is "Named User"-based so one purchased license entitles the named user to install and use any distribution of Oxygen on any platform as long as the named user will use that license.

[edit] External links