1. Edit tool
Prev | Chapter 7. Tools | Next

## 1. Edit tool

This tool works in two steps:

1. Click on one of the following buttons:

   Replace

     (See Edit → Replace for a complete description of the command.)

   Insert Before

     (See Edit → Insert Before for a complete description of the command.)

   Insert

     (See Edit → Insert for a complete description of the command.)

   Insert After

     (See Edit → Insert After for a complete description of the command.)

   Convert

     (See Edit → Convert for a complete description of the command.)

   Convert [wrap]

     (See Edit → Convert [wrap] for a complete description of the command.)

   This first action just fills the list below these buttons with all the allowed arguments (element name or text node) for the selected command.

2. Choose an element name from the list or type its name in the text field. It is this second action which actually triggers the command.

Procedure for specifying an argument for one of the editing commands described above:

- An element is specified by clicking on its name in the list. A single click is sufficient.

  If the selected operation allows to specify a text node as its argument, the list contains not only element names but also a "`(text)`" item.

- Alternatively, the element name can be specified using the text field above the list:

  1. Type the element name in the field (or type "`(text)`" if this item is found in the list).

  2. Press Enter or click on the OK button.

  ### Tip

  The text field supports auto-completion.

  This auto-completion feature can be configured using the Options dialog box.

- Type Esc or click on the Cancel button to cancel current command and to clear the form.

Procedure for specifying an element argument when the command is applied to an element of the unconstrained type:

1. Type any element name in the text field.

   ### Note

   If the namespace of the element name has not been declared, you will have to declare it using Tools → Declare Namespace before being allowed to specify this name.

2. Press Enter or click on the OK button.

Procedure for specifying an element argument that matches an element wildcard:

1. Type an element name that matches the wildcard in the text field.

   ### Note

   If the namespace of the element name has not been declared, you will have to declare it using Tools → Declare Namespace before being allowed to specify this name.

2. Press Enter or click on the OK button.

   XXE will of course check that the name you have typed conforms to the element wildcard.

Prev | Up | Next
Chapter 7. Tools | Home | 2. Include tool