Place the cursor in the Editing Window or in the ContentMap in the position where you want to insert the element.
Sometimes the insertion of an element is required .
To call up the Insert Element Dialog (or move the focus to the docked Insert Element Dialog), do one of the following:
Press Ctrl-Enter.
Choose
.
Click the
Insert Element button on the toolbar.
Right-click and select Insert Element from the context menu.
The Insert Element Dialog will appear. The dialog shows an alphabetically sorted list of elements available for the current context if validation is on. The 5 most recently used elements are shown in bold at the top of the list.
Figure 1. Insert Element Dialog.
The Insert Element Dialog is a " liquid dialog": it can have a different, docked appearance. For more information about liquid dialogs, see "Liquid" Dialog Boxes and Dialog Docking.
In the Insert Element Dialog, do one of the following:
Find the element and double-click it.
If you know exactly which element you need, you can start typing its name and it will be offered automatically.
To find a proper element for insertion, move the mouse pointer over elements and see a tooltip with short help for each element.
Select the element and click the
Insert button or the
Insert Element button .
Select the element and press Enter.
Press Alt-number to pick a corresponding recently used element shown in bold.
Suppose we want to insert the ulink element after the orderedlist element in a Docbook document. It is more convenient to find this position in the ContentMap than in the Editing Window.
Click the empty branch in the ContentMap - the end of the para element.
Let's insert a new element there.
Press Ctrl-Enter to call up the Insert Element Dialog.
In the Insert Element Dialog, select the ulink element.
In the Required Attributes Dialog, enter the value of the url attribute. Click .
The ulink element has been inserted.
Type the content of the ulink.