What is new in <oXygen/> XML Editor 14.0
June 27, 2012
Version 14 marks a major step forward in the XML development support as it
introduces new concepts and functionality that change the way you develop XML and
XML-related applications.
The XML authoring competes now with word processors on ease of use and
functionality while providing all the benefits of having XML documents as the result
of your work - it has never been easier before to create, annotate and review XML
content.
The new support for plugin and framework repositories allows <oXygen/> users to
discover and install extensions to the standard <oXygen/> functionality and enables
the <oXygen/> plugin and framework developers to easily deliver and update their
applications to <oXygen/> users.
The new version introduces subscription-based licenses for 1 year and 6 months
alongside the existing permanent licensing option.
There are changes in:
XML Development
XPath/XQuery Builder
The new XPath and XQuery builder is a powerful sandbox tool designed to
help you in building, reusing and testing XPath and XQuery code snippets. Using
the content completion assistant and syntax highlight coloring, you can quickly
build queries and you can reuse them either from the history stack or from the
favorites list.
CTRL/CMD + Click Navigation
By holding down CTRL (CMD on Mac) in the Text editing mode some
components become links that you can follow to get to the definition of those
components. For example, in an XML document, an element name becomes a link to
that element definition in the associated schema or DTD. In an XSL stylesheet, a
variable reference becomes a link to that variable definition, and so
on.
In-Place Rename
Refactoring your code is a lot easier with the rename component action
that allows you to rename a component and all its occurrences in the current file
without showing any dialogs. All the component occurrences are highlighted and
changed as you type.<oXygen/> provides a default shortcut to quickly trigger this
action: Alt+Shift+R (Alt+Cmd+R on Mac).
XQuery 3.0
The XQuery editor and the new XQuery builder allow you to edit and
execute XQuery 3.0 expressions (including schema aware ones). The Saxon 9 XQuery
processor is used for execution and validation. The new functions defined in
XQuery 3.0 are presented in the content completion assistant.
XPath 3.0
The XSLT 3.0 and XQuery 3.0 specifications are based on XPath 3.0 so
<oXygen/> updates its XPath support to cover the new additions in XPath 3.0. The
new XPath builder allows you to edit and execute XPath 3.0
expressions.
Master Files [ read more... ]
<oXygen/> introduces a new innovative concept called Master
Files which simplifies the configuration and development of XML projects. Master Files
are the roots of import/include tree of modules. They are defined at project level and
are automatically used to determine the context for: validation, editing
(content-completion and outliner), refactoring and component search operations. This
support is available for XSD, XSL and RNG modules.
XSLT Unit Test [ read more... ]
<oXygen/>
provides XSLT Unit Test support based on
XSpec.
You can easily create a test for an XSLT stylesheet using the New -> XSLT Unit Test
contextual action in the Project View. This action automatically generates an XSpec
stub for the templates and functions from the stylesheet that you want to test.
Editing XSpec is assisted with content completion and validation, and a default
transformation scenario allows to run the tests, generating as output the test
report.
XSLT 3.0 [ read more... ]
XSLT 3.0 support is automatically activated for each XSLT
stylesheet having the version attribute set to 3.0. <oXygen/> provides content
completion for XSLT 3.0 stylesheets, support for transformations and XSLT validation,
updated Outline view and search and refactoring actions that handle new additions in
the XSLT 3.0 standard.
Authoring
Display Tracked Changes as Callouts
Along with review comments, the changes can be presented as callout
boxes (balloons) next to the editing area, thus making it easy to collaborate on
document editing and review. You can control what type of changes are displayed as
well as the additional information: changed content, date, time and author. To
enable the balloons for tracked changes, use the Callouts options
page.
Complete DITA 1.2 Implementation in Relax NG
The complete set of DITA 1.2 schemas is available in Relax NG and
<oXygen/> provides full support for creating, authoring and publishing DITA
documents based on those Relax NG schemas. The DITA support in Relax NG was
contributed back to the DITA community as an open source project:
DITA-NG.
XPath Filter for Find/Replace in Author Mode
The XPath filter which was available only in Text mode is now available
in the visual editing (Author) mode.
Preview conref Target Elements
The insertion of a DITA conref is easier because <oXygen/> shows a
preview of the target elements using the visual Author mode.
Partial Support for EPS Images
If the JAI Image I/O Tools libraries are installed in <oXygen/>, TIFF
preview images embedded in referenced EPS images are rendered in the Author mode.
Note that this is an experimental support.
CSS 3 Substring Matching Attribute Selectors
The Author editing mode supports the CSS 3 "starts-with", "ends-with"
and "contains" attribute selectors.
Display Review Comments as Callouts [ read more... ]
When you annotate your XML
documents, the comments are displayed in the Author view as side callouts (balloons)
showing also additional information like the author and the comment time.
Feedback-enabled WebHelp [ read more... ]
Starting with version 14, <oXygen/> added the ability to
transform DITA and DocBook documents into Feedback-Enabled WebHelp systems, being
the first XML Single Source Publishing solution which supports this technology. This
means that the communication is bidirectional. The users that visit the
documentation pages are able to see the added comments and reply to them.
Column and Row Table Operations [ read more... ]
By allowing to select entire rows and columns <oXygen/> you
can easily copy or move table data using copy/paste and drag and drop
operations.
Discontinuous selection [ read more... ]
You can select multiple text ranges (discontinuous selection)
or multiple elements in the Author page and cut/copy/paste them.
Plugins and Frameworks
StratML Framework
Support for Strategy Markup Language Part 1 and Part 2 is default in
<oXygen/>, offering default schema association based on the document namespace,
built-in XML Catalog for mapping remote StratML schema references to local copies,
easy creation of new StratML documents though document templates, visual editing
in the Author mode and default transformation to HTML.
Increased Framework Portability
A new editor variable ${framework} that is expanded to the current
framework folder allows you to refer to resources like schemas, CSS stylesheets,
and so on, in a portable way, that does not depend on the actual framework
location.
Localized Frameworks
A framework provides specific support for an XML vocabulary - this is
what <oXygen/> uses to provide a default support for DITA, DocBook, TEI, etc.
Starting with version 14 the frameworks support internationalization and the main
default <oXygen/> frameworks were localized in English, German, French, Dutch,
Italian and Japanese.
Specific Element Icons
Many of the default <oXygen/> frameworks (DITA, Docbook, TEI, XHTML,
XSL and XML Schema) were updated to use the API that allow providing custom icons
for elements to provide specific icons, for example to easily distinguish a title,
a paragraph, a list, etc. These icons appear in the Outline view and in the
content completion list when an element is proposed to be inserted in the
document.
Plugin and Framework Repositories [ read more... ]
As a developer you will be able to distribute your plugins and
frameworks to other users by publishing them as add-ons on your website. The users can
easily install new plugins and frameworks by just pointing oXygen to a repository URL.
They will be able to browse available plugins and frameworks and select the ones they
want to install. When an add-on is changed, an update notification is triggered in
oXygen.
Transformation and Validation
Unified Presentation of Transformation Scenarios
All transformation scenarios are presented regardless of their storage:
the project file, user preferences, or frameworks. You can easily import and
export scenarios, and change their storage location.
Associate
Multiple Transformation Scenarios
You can publish to multiple output formats with just
one click. For instance, if you associate DITA to PDF and DITA to WebHelp
scenarios to a DITA map then the "Apply Transformation" action will perform both
transformations.
Unified Presentation of Validation Scenarios
All validation scenarios are presented regardless of their storage: the
project file, user preferences, or frameworks. You can easily import and export
scenarios, and change their storage location.
Associate
Multiple Validation Scenarios
You can associate multiple validation scenarios with
your documents.
EPUB
EPUB 3.0
The EPUB support was updated to include validation for EPUB 3.0 files.
The support for the files included inside an EPUB was also updated to support the
new files referred by the EPUB 3 specification.
Eclipse Plugin
Internationalization Support for the Eclipse Plugin
<oXygen/> is available both as a standalone Java application and as an
Eclipse plugin. The internationalization support was available only in the
standalone version and now it was extended to cover also the Eclipse plugin. By
default the Eclipse plugin is localized in the following languages: English,
German, French, Dutch, Italian and Japanese.
MathML Editing in the Eclipse Plugin
MathML equations are rendered in the <oXygen/> visual editing (Author)
mode. For editing, <oXygen/> provides a simple MathML visual editor that presents
the rendered equation and the MathML source side by side and synchronizes the
caret position in both views to quickly map from the rendered equation to the
source and vice-versa.
MarkLogic
XQuery Validation
The XQuery modules can be validated using the MarkLogic server thus you
can spot possible issues quickly, without the need to actually execute that XQuery
script. The validation support requires MarkLogic 5 or a later
version.
Remote Editing
It is possible to edit a module opened directly from the MarkLogic
connection, without the need to go though a file or WebDAV peer connection.
Remote XQuery Debugging on MarkLogic Server [ read more... ]
The new capabilities of <oXygen/> enable debugging of real
applications that use XQuery, for example web applications that trigger XQuery
executions. <oXygen/> connects to a MarkLogic server, shows you the running XQuery
scripts and allows you to debug them. By setting the server in debug mode you will be
able to intercept all the XQuery scripts run on that server.
The remote debugging support allows also collaborative
debugging, two or more developers can connect to the same debugging session.
Other
Find and Replace in Files Improvements
The Find and Replace in files support was updated to support text on
multiple lines. Before applying a replace operation, you can also preview the
changes that are about to be performed and you can also limit the scope of those
changes to specific files.
Search Results Highlighted in Editors
The results of the XPath, Find, Search References/Declarations
operations are highlighted in the editor and marked in the side bar, in both
Author and Text mode.
Show/Hide Element Names in Outline View
You are able to control the visibility of the element names in the
Outline View. Hiding element names allows you to focus more on the document
content.
Improved JavaScript/JSON Support
The JavaScript editing experience has been improved with the addition
of Content Completion Assistant, synchronized Outline View and syntax validation.
The Outline View can also be used when editing JSON files.
Browse Database Resources
In most places where a resource is needed, <oXygen/> uses a component
that allows to easily identify what resource to open. This component includes now
an action that allows browsing database collections to find the resource to open
thus making the resources stored in databases easily accessible in many
workflows.
Extended API
Control the Callouts Rendering and Actions in Author Mode
Handle Special Author Table Operations
Access to Author Selection Model
Listener for Author Track Changes and Review Comments Actions
Frameworks Internationalization Support
In order to provide a framework which can be used without modifications
with multiple user languages, all action names and messages from the document
types can be translated. The
AuthorAccess.getAuthorResourceBundle() method was added
to provide a message bundle that holds all the internationalized messages for a
framework.
DITA Map Tree Component Integration
Using this new Author Component API, a DITA Map Tree Component can be
integrated in your applet or Java application. The component presents a DITA Map
in a tree-like fashion similar to the DITA Maps Manager view of the <oXygen/> XML
standalone distribution. The DITA Map Tree Component provider can be obtained from
the
AuthorComponentFactory.createDITAMapTreeComponentProvider()
method.
Provide DITA Key Definitions
Licensing MathFlow Editor and MathFlow Composer
Plugin Workspace Provider
The
ro.sync.exml.workspace.api.PluginWorkspaceProvider
singleton provides access to the workspace API of the <oXygen/> editor for
plugins developed for both standalone and Eclipse distributions. By using it you
can add listeners to editor-related events(for example editor opened, closed, page
changed), obtain access to all opened editors, add option listeners, or save
custom options.
Execute XPath Expressions against the Content of the Text Page
Map between Text Page Offsets and their Line-Column Coordinate
Set a Default Location for a File Chooser
Updated Components
Saxon Enterprise Edition
The Saxon 9 Enterprise Edition processor from Saxonica for XSLT, XQuery
and XML Schema was updated to version 9.4.0.3.
EpubCheck
The EpubCheck was updated to version 3.0b5 to provide validation
support for both EPUB 2 and EPUB 3 documents.
Calabash
The Calabash XProc processor was updated to version
1.0.3-94.
Updated DocBook Stylesheets
The DocBook stylesheets were updated to version 1.77.1.
Updated TEI Schemas and Stylesheets
The TEI schemas and stylesheets were updated to version 2.10 of the
schemas and version 6.13 of the TEI stylesheets.