Child pages
  • Using Oxygen

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

This page is a work in progress.

Using Oxygen

Using Oxygen: Tips

Oxygen has default shortcuts established to simply markup. You can view these or modify them here:
OptionsMenu Shortcut Keys. Oxygen also provides task panes with useful information for navigating within an XML document and encoding it. Toggle the task panes by going to WindowShow view.

Checking well-formedness and validity

To check that an XML document is valid to the DTD or Schema it references, click the toolbar button with the red check mark (or use the hotkey CTRL+SHFT+V): 

Format and indent

When encoding, it is often useful to "clean up" the display to better view the hierarchy of the XML document. The "Format and Indent" feature only works if the XML document is well-formed (or use the hotkey CTRL+SHFT+P): 

Outline view

The "Outline view" is a task pane that shows the current hierarchy of the XML document in a tree view. It is useful for navigating around the structure of the XML document quickly. If it is not displayed by default, you can see it by selecting WindowShow view → Outline.

Model view

The "Model view" is a task pane that shows what elements and attributes are available based on the current cursor position if the XML document references a DTD or Schema. If it is not displayed by default, you can see it by selecting WindowShow view → Model.

Control + E:

Shortcut for tagging a chunk of content. For example, a paragraph from a book or a poem, or a title or a name. This feature is most useful when marking up text that has been pasted into Oxygen.

Code Block
     How soon go by the swift-winged years
     How soon comes our three score and ten;
     Our lives are mixed with joys and tears,
     Sad disappointments, dead hopes, fears,
     And sighing o&apos;er what might have been.

Code Block
     <l>How soon go by the swift-winged years</l>
     <li>How soon comes our three score and ten;</l>
     <li>Our lives are mixed with joys and tears,</l>
     <li>Sad disappointments, dead hopes, fears,</l>
     <li>And sighing o&apos;er what might have been.</l>

Control + slash :

Shortcut for tagging repetitive chunks of content.

Using Oxygen: Preferences

In general, keep all the default settings unless you become an expert Oxygen user and would prefer to change the options to better accommodate encoding.

Double-check the following:

  • Under Options → PreferencesEncoding set:
    • Encoding for non XML files to: "UTF8"
    • Encoding erros handling to: "Ignore"
  • Under Options → PreferencesEditor → Content Completion select:
    • Auto close the last opened tag
    • Automatically rename matching tag
    • Use content completion

Other tidbits to incorporate into this page at some point

I am not sure if anyone mentioned this, but if one right clicks on the toolbar, you can add XML Refactoring to the toolbar. This includes renaming tags, splitting, surrounding (highlighted tex), and deleting tags (but not content).

With respect to macros, if you go into Options > Preferences > Editor > Templates > Code Templates, you will find NoteTab like macro features. This feature is not as powerful as that in NoteTab, but it can be quite useful for repetitive tagging.