Edit online

Oxygen XML Web Author includes a simple text editing mode where you can edit the XML source code. It includes syntax highlighting to make it easy to see the XML structure.

To switch to this text editing mode, select More > Edit as XML from the menu bar at the top of the screen.

To switch back to the normal visual editing mode, click Switch to Author mode in the menu bar at the top of the screen.

Keyboard Shortcuts

The text editor supports the usual keyboard shortcuts. For example:
  • Ctrl+C (Command+C on OS X) - Copy
  • Ctrl+X (Command+X on OS X) - Cut
  • Ctrl+V (Command+V on OS X) - Paste
  • Ctrl+Z (Command+Z on OS X) - Undo
  • Ctrl+Y (Command+Y on OS X) - Redo
  • Ctrl+A (Command+A on OS X) - Select all

Find/Replace Actions

There is also a find/replace menu button () in the top-right corner of the text editor that expands to reveal the following additional search-related actions along with their keyboard shortcuts:
  • Find (Ctrl+F (Command+F on OS X)) - Opens a stripe at the top of the text editor where you can enter a search pattern. It supports regular expression syntax. To use regular expressions, surround the search pattern with forward slashes (for example, /word*/).
    Tip: When in Find mode, you can navigate to the next occurrence by pressing Enter, or to the previous occurrence by pressing Shift+Enter.
  • Find/Replace (Ctrl+Shift+F (Command+Shift+F on OS X)) - Opens a stripe at the top of the text editor where you can enter a search pattern to find and after you press Enter, you can enter the pattern to replace it with. Each occurrence is then highlighted in the editor, one by one. You can simply press Enter to perform the replace operation on each occurrence or you can use the buttons that then appear in the stripe (Yes, No, All, Stop). The find operation supports regular expression syntax. To use regular expressions, surround the search pattern with forward slashes (for example, /word*/).
  • Jump to Line (Alt+F) - Opens a stripe at the top of the text editor where you can enter the line number to navigate to.

Content Completion

The text editing mode includes basic content completion as long as the document has an associated DTD schema (other types of schema do not support content completion in the text editing mode even though they do support it in Author mode). The content completion functionality can be invoked using Ctrl+Space and it offers proposals that are valid in the element at the current cursor location (including elements, attributes, and attributes values).