Oxygen XML Developer 16.0

May 20, 2014

Related version: 16.1    

XSLT development received a productivity burst in Oxygen XML Developer 16 with the addition of Quick Fixes support and improvements to refactoring actions. If you develop XSLT stylesheets to work with Saxon-CE in the browser, Oxygen will assist you with validation and content completion assistance for the Saxon-CE specific extensions.

Querying a set of files with XPath is facilitated by the XPath execution scope setting that can point to a predefined or a user-defined set of files.

If you use Ant to orchestrate build processes then Oxygen will support you with a powerful Ant editor featuring validation, content completion assistance, Outline view, syntax highlight and search, and refactoring actions.

As usual, this version includes many component updates and updated API functionality.

There are changes in:


XSLT Quick Fixes

To improve development productivity Oxygen offers rapid fixes for common errors that appear during XSLT development. Using the Quick Fix support you can resolve problems such as missing templates, misspelled template names, missing function,s or references to undeclared variables or parameters.

Improved XSLT Refactoring

XSLT refactoring support has been improved by adding additional refactoring actions and enhancements to the existing ones. If you want to re-use an XPath expression, you can use a refactoring action to extract that expression as a variable or parameter. The Move to another stylesheet refactoring action allows you to move one or more XSLT global components into a new or existing stylesheet. To make refactoring actions more accessible the Quick Assist feature displays the refactoring actions relevant to the current editing context.
Improved XSLT Refactoring

Saxon-CE Specific XSLT Development Support

Saxon-CE (Client Edition) provides integrated XSLT 2.0 support in the web browser. XSLT stylesheets designed to work with Saxon-CE use specific extensions to integrate with the web browser and to react to user-generated events. Oxygen helps you develop XSLT stylesheets for Saxon-CE with special validation, content completion assistance, and syntax highlight support, all aware of Saxon-CE extension functions and instructions.


XPath over Multiple Files

You can easily execute XPath expressions over multiple files. You can choose one of the predefined scopes (Current File, Project, Selected Project Resources, All Opened Files, Current DITA Map Hierarchy) or define your own collection of files.
XPath Over Multiple Files

XPath File Filter

You can execute XPath expressions over all the files from the selected scope or you can define an additional filter that will select the relevant resources from that scope. The default filter selects all the known XML file types.

Stop XPath Execution

An XPath expression executed over multiple documents may take a long period of time to complete. During the execution of an XPath expression, the XPath toolbar displays a Stop button that allows you to stop the processing.

Ant Editor

Oxygen provides a full-fledged Ant build files editor that includes features such as validation, content completion assistance, Outline view, syntax highlight and search, and refactoring actions.

Ant Outline View

The Outline view is available for the Ant build files editor, offering you an overview of the Ant components and the possibility to focus on a specific subset using the filter box.
Ant Outline View

Content Completion Assistant

The Content Completion Assistant offers the list of Ant components that can be inserted in the current context. You can use it to easily insert references to components or to define new ones.

Searching and Refactoring Actions

You have a wide variety of actions to search and rename IDs, targets and properties.
Searching and Refactoring Actions

Master Files - Contextual Editing

Ant validation, editing (content-completion and Outline view), refactoring and component search operations work by default in the context of the Ant Master Files.

Resource Hierarchy / Dependencies View

The relationship between Ant resources can be visualized and understood with the help of the Resource Hierarchy/Dependencies view.

WebHelp Skin Builder

Component Updates


Extend Framework

You can extend a base document type configuration to add or remove functionality. When the base is modified and evolves (from one application version to another, for example) the extension will evolve along with it. This allows the extension to use the new features/actions added in the base.

Eclipse Author Validation Stripe

The Eclipse Plugin was enhanced to contain a vertical validation stripe in the Author visual editing mode showing an overview of all reported validation errors.

Editor Variable for Evaluating XPath 3.0 Expressions

The xpath_eval(expression) editor variable allows you to evaluate XPath 3.0 expressions either statically, in non-XML contexts, or dynamically, relative to the current element, in XML contexts. As an example, this gives you access to all standard XPath functions such as replace(), substring(), or upper-case() when you compute the output file name of a transformation.

Better Application Tooltips Styling

The user interface has been improved by using rich HTML for displaying tooltip information. For example, in the case of a validation error the tooltip may contain a link to an external web page.

Reference Video Files in EPUB and EPUB 3 Output

You can reference popular image or video media files to be included in EPUB and EPUB 3

Oxygen API

A detailed list of all changes to the Java API can be found here.

Maven Repository for the Oxygen SDK

Oxygen provides API to extend its functionality and also makes available components that can be used as part of other applications - all these form the Oxygen SDK. Starting with version 16 the SDK is available through Maven.

Import Global Options from an XML Document

The API PluginWorkspace.importGlobalOptions(File) allows you to set fixed options to the application from an exported XML options file.

Get the Document Type of the Currently Open XML Editor

The WSEditorBase.getDocumentTypeInformation() API method allows you to find details about the document type of the currently open XML editor.

Get the Build ID of the Current Version

The API method WorkspaceUtilities.getVersionBuildID() can be used to obtain the build ID of the current version of the application.

Obtain All Registered Editor Listeners

The WSEditor.getEditorListeners() API method allows you to get the list of all listeners registered on a particular editor.

Obtain All Registered Editor Change Listeners

The PluginWorkspace.getEditorChangeListeners() method allows you to get the list of all editor change listeners registered in the application.

Define Scopes for a Plugin's Library

In the plugin.xml plugin configuration file you can contribute a referenced library to the main application class loader by setting the scope attribute to one of the following values: global and globalHighPriority.