How to Perform Common Editing Tasks
This section describes how to perform some of the most common editing operations in Oxygen XML Web Author.
Input Text
- Tap or click to move the cursor into the selected document area.
- Type the text using the keyboard or screen.
Split a Paragraph
- Tap or click to move the cursor at the split position.
- Tap or press Enter to open the Content Completion Assistant.
- Choose Split p from the list of proposals.
Enter a New XML Element
- Tap or click to move the cursor into the document area where you want to enter the new element.
- Tap or press Enter to open the Content Completion Assistant.
- Select the element name.
Surround a Selection with an XML Element
- Tap or click to move the cursor into the selected document area and make a text selection.
- Tap or press Enter to open the Content Completion Assistant.
- Select the element name that you want the selection to be surrounded with.
Insert an Image
- Tap or click the
Insert Image action on the toolbar.
- Select the image from the file browsing dialog box that appears.
Tip
If the image does not already exist in file structure of your repository, you can use theUpload File action at the top-right corner of the dialog box to upload it to the repository before selecting it.
You can also copy an image file from another document, web page, or application (such as a system file browser) and paste it into your document. Oxygen XML Web Author will insert it as a reference to the image file.
Set an Attribute Value
- Select the Attributes tab from the panel on the right side of the
screen. If it is not displayed, tap or click the
Toggle Side Panel button from the upper right-side corner (or swipe from right to left on mobile devices).
Web Author Attribute Panel
- If the attribute is present in the attributes table (it already has a value), you can change its value by tapping or clicking its value. On a desktop system, you can also use Tab or Shift+Tab to cycle through the available attributes and the Enter key to select and modify attribute values.
- If the attribute is not present, use the Add Attribute button and tap or click the attribute to set its value. On a desktop system, you can also press Alt + Enter when the cursor is in the document and the focus will change to the Attributes tab with the Add Attribute form control automatically opened.
Remove an Attribute
- Select the Attributes tab from the panel on the right side of the
screen.. If it is not displayed, tap or click the
Toggle Side Panel button from the upper right-side corner (or swipe from right to left on mobile devices).
- Find the attribute in the table and tap or click its value.
- Use the
Delete button (or use the Delete key) to remove the attribute.
Save a Modified XML Document
To save your changes, tap or click the Save button from the upper toolbar. Note that the
save operation depends on the integration of the Oxygen XML Web Author with a CMS or
other storage mechanism.
Search and Replace Content
- Tap or click the
Search button from the upper toolbar, or the Search tab on the right side of the screen (if it is not displayed, tap or click the
Toggle Side Panel button from the upper right-side corner, or swipe from right to left on mobile devices).
- The Search side panel is opened.
Web Author Search Panel
- Type the text you want to find in the Search for input box and
tap or click the
Search icon in the left side of that same input box.
- All matches are highlighted, and the first one is selected. To advance to the next
match, tap or click the
Search icon again.
- To replace content, type the new text in the Replace with input box. To replace the current match, use the Replace button. To replace all matches, use the Replace all button.
Editing MathML Equations
- Tap or click the equation to open an editing dialog box.
- Edit the XML source of the equation.
- Tap or click OK to finish the editing process.
Promote/Demote List Item Nodes
In the desktop version of Oxygen XML Web Author, you can easily promote or demote selected list item nodes within ordered lists or unordered lists by using the following keyboard shortcuts:
- Promote (Shift + Tab)
- Promotes an entirely selected list item node to be a sibling of its parent node (the list item is moved to the left). It also works for selections of multiple list item nodes as long as all the selected nodes are siblings (on the same hierarchical level).
- Demote (Tab)
- Demotes an entirely selected list item node (the list item is moved to the right). It also works for selections of multiple list item nodes as long as all the selected nodes are siblings (on the same hierarchical level).
Change DITA Map (For DITA Documents)
To change the DITA Map that is associated with the current document, follow these steps:
- With the document opened in Oxygen XML Web Author, select the
Choose DITA Map button on the DITA toolbar.
- Choose the URL of the DITA Map that you want to be associated with the current document.
- To see which DITA Map is currently associated with a document, select the
Show Validation Results from the upper toolbar.