Text Editing Mode
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
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
- Ctrl+C (Command+C on macOS) - Copy
- Ctrl+X (Command+X on macOS) - Cut
- Ctrl+V (Command+V on macOS) - Paste
- Ctrl+Z (Command+Z on macOS) - Undo
- Ctrl+Y (Command+Y on macOS) - Redo
- Ctrl+A (Command+A on macOS) - Select all
Find/Replace Actions
- Find (Ctrl+F (Command+F on macOS)) -
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 macOS)) - 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).