To see the differences between the Standalone and Eclipse version of <oXygen/> click here.
This is an automatically synchronized tree based outliner. The document tree structure is presented as the document is edited. The modified element is revealed and selected in the outliner. Also an element can be selected in the text editor by clicking on the corresponding node in the outliner. The outliner uses a robust parser thus being able to handle correctly not well formed documents.
From the dialog for creating new Eclipse projects you can choose the type "XML Project". This will change the perspective to <oXygen/> XML Perspective allowing you to easily access <oXygen/> actions and to better organize your XML files.
<oXygen/> adds two debugger perspectives to the Eclipse IDE providing a special layout that shows the source and the stylesheet/xquery documents side by side and also the results and special debugging views: "Context", "Call stack ", "Trace history", "XPath watch", "Variables", etc. All debugger capabilities are provided: step into, step over, step out, run, run to cursor, run to end, pause, stop."
The <oXygen/> plugin installs a series of Eclipse wizards for easy creation of new documents. Using these wizards you let <oXygen/> fill in details like the system ID or schema location of a new XML document, the minimal markup of a DocBook article or the namespace declarations of a Relax NG schema.
Some operations may take some noticeable time when you work on large documents or you perform complex transformations. Unlike other editors that block during these operations and remain unusable for large periods of time <oXygen/> performs all these operations in background letting the interface usable, so you can continue editing the document or switch to other document and edit it or perform other operations.
The XML Catalog support allows you to specify in a document references to original remote resources (using a public ID or a remote URL) while the application is using your local copy of those resources. Thus the documents are written in a portable manner, the access to resources is faster because the local copy is used and the remote resource references can be used even when you are off-line. With <oXygen/> you can use OASIS Entity Resolution Technical Committee XML Catalog file, Extended OASIS Entity Resolution Technical Committee XML Catalog files, OASIS Open Catalog files and "xcatalog" XML Catalog files .
<oXygen/> allows to enable the XInclude support from the preferences dialog. The XInclude support is based on Xerces.
<oXygen/> offers elements, attributes and attribute values via a feature insight like mechanism. Unlike other editors that offer all the available entries <oXygen/> will offer only the entries that are valid in the editing context so you are creating valid content while editing.
While creating an XSLT document you are creating as output, in general, HTML, FO or another XML format. XSLT allows you to specify elements from the target output directly, that is you can specify something like <table> ... </table> instead of <xsl:element name="table"> ... </xsl:element>. The content assistant provided by <oXygen/> will offer you whenever an xsl:element is allowed also the elements from the target output. The target output document type can be easily configured from options where you can choose from XHTML, FO and to specify a custom XML Schema or DTD.
<oXygen/> allows you to define a stylesheet and a FOP to be applied on your XML document and also how you would like to save or view the transformation result. For a file you can create more transformations and the current transformation can be executed with one mouse click or keyboard shortcut. Also support for cascading stylesheets is available.
<oXygen/> plugin comes with DocBook DTDs, XML catalog, stylesheets and document templates so that you can start creating DocBook documents right away. The articles from our site are written in DocBook and their sources are available for download so you can easily have some samples to start from. DocBook documents can be converted to HTML, PDF or PostScript.
<oXygen/> plugin comes with TEI DTDs, XML Catalog, stylesheets and document templates so that you can start working right away with TEI documents. You can edit documents guided by the context sensitive content assistant, easily validate the edited documents and transform them to HTML or PDF for presentation. We cooperate with TEI Consortium and we are committed to keep the TEI support up to date in future <oXygen/> releases.
<oXygen/> allows a very flexible document creation management through document templates. You can create new document templates from the editor content and you can publish your templates to share them with other users. Organisations can maintain a central document templates repository and all the users will be able to create documents using it. More, <oXygen/> provides a set of document templates for the most used types of documents.
To speed up the content creation <oXygen/> can automatically insert the required attributes inside an element and can also automatically insert the required element content of the inserted element. You can also configure the optional content to be inserted, like the first element from a choice or the first occurrence of an optional element.
This check allows you to verify that a document is XML well formed. This verifies the general document structure and not if the structure conforms with a specified XML schema or DTD. Passing this test is a must for a document in order to be considered an XML document. The well formedness can be checked at every save operation of the edited document if the checkbox for this option is activated from the general options page for <oXygen/> plugin.
The XML schemas gain more and more usage over DTDs. <oXygen/> integrates the latest version of the Xerces-J XML parser to validate documents against XML Schemas. You can use <oXygen/> also to validate an XML document instance against a specified DTD, Relax NG schemas both in XML syntax and compact syntax and Namespace Routing Language schema .
To associate a DTD or a schema with a document you can use the "Associate schema..." action that will present a wizard to easily accomplish this task.
With <oXygen/> you can easily create, edit, test and validate XSLT document. To create a new XSLT document there is a new XSLT option, the editor will automatically know the XSLT allowed content and the content assistant will provide the elements, attributes and attribute values for XSLT plus the elements from the target document. Transformations can be easily configured and run to easily test the XSLT you are creating. You can choose between the most popular XSLT engines (Xalan, Saxon 6.5, Saxon EE) when performing XSLT transformations. You can also configure any JAXP compliant XSLT processor and use it to perform transformations. Thus you can easily work in development with the engine you choose for your production system. Other XSLT engines can be configured as external tools.
<oXygen/> offers an integrated view to show transformation results that will render XML, HTML or text results. The possibility to show the transformation results in your browser is vital when you are working on a production ready system. This allows you to view for instance HTML or PDF transformation results.
<oXygen/> features a powerful XPath support allowing you to both perform XPath searches on an XML document and to evaluate XPath expressions. If location paths are selected by your query then they are presented in the XPath view area together with their text content, if available, to allow you to easily visually identify the nodes. Clicking on a result location path will highlight the corresponding part from the document. Note that you can choose to execute your XPath query in conformity with the version 1.0 or 2.0 of the standard.
The Apache FOP is bundled inside <oXygen/> plugin and it does not require any special configuration to use it. Thus you can convert DocBook to PDF or PostScript for instance by just setting up a transformation to use the DocBook to FO stylesheet and choose the perform FOP option. If the Apache FOP is not enough for your development and you need to use another FOP you can very easily add that to <oXygen/>. In case of XEP it is even simpler as you just have to browse for its start file and <oXygen/> will know how to use it.
W3C XML Schema documents can be edited and validated with <oXygen/>. While editing the user is assisted by the context sensitive content assistance guided by the schema for schemas. The validation is not performed against schema for schemas but the schema is validated according with the W3C specification, <oXygen/> is using the latest version of Xerces-J at the time of release. The DTD editor features syntax coloring and validation support. Relax NG schemas can be edited both in XML syntax and in Compact syntax. The Relax NG schemas in XML syntax editing is helped by content assistant and validation. Namespace Routing Language schemas can be edited with <oXygen/> using content assistant and validation.
You can convert from a DTD, Relax NG schema in XML or Compact syntax to DTD, W3C XML Schema, Relax NG schema in XML or Compact syntax using the "Convert with Trang" action.
XML documents can be formatted and indented with this option. This does a hard wrapping of text content and you can specify the indent size, the maximum line length and if spaces or tab should be used for indenting. To control the elements that should not be processed you can use the xml:space attribute and specify its value to "preserve" or "default" depending on whether you want to keep the formatting or to format the elements respectively. Also you can edit two lists of elements that will be treated as if they have an xml:space attribute with the value "preserve" and "default" respectively. Advanced options to allow to sort the attributes or keep their order or to output empty elements as an empty tag or as start and end tag are also available.
<oXygen/> offers full Unicode support. The text font for the plugin document editor can be specified independently from the Eclipse settings.
You can check the spelling of your document content from within <oXygen/>. This is very important when you write a lot of text content. The spell checking support is XML aware looking for XML text and can skip the markup so it is more easily to check the spelling of an XML document inside <oXygen/> than using some other not XML enabled spell checking tool. The supported languages are English, German and French including locale variants
If you have an unstructured document and you want to get it as XML then you will find really useful the "surround in ..." options offered by <oXygen/>. This allows you to surround the current selected text into a specified tag.
The WSDL files contain information about the published services, like the name, the message types and the service bindings. The editor is offering you a way to edit the WSDL files that is similar to edit XML, the content completion being driven by a mix of the WSDL and SOAP Schema.
More that just editing, you can test the definitions directly from the editor. For this you can use the integrated WSDL tester. It automatically discovers the services, so you just have to select the service, port and action and <oXygen/> tries to generate as much content as possible for the call skeleton. Usually you just have to change few values in order for the request to be valid. The content completion is available for the request editor and is driven by the schema that defines the type of the current message.
Starting from the version 3.0, Eclipse offers support for folding of the Java elements. We have extended it for XML. The folding allows you to collapse elements, leaving in the focus only the ones you need to edit.
In the next image you can see that only one of the chapter sections is expanded, the rest are collapsed.
To make the fold operation faster you can use the contextual menu to collapse or expand all the child folds of an element.