In this section, we provide details about commands that manipulate single elements or the sets of elements in the DOM. The other commands will be covered in a later chapter.
If you look at the descriptions for the commands, you will see that many attribute names are shared. We describe some of these here, so that we do not have to repeat them for every command.
Very common attributes are select
and with:
Attribute |
Type |
Description |
---|---|---|
|
String (XPath) |
Input value to the command. |
|
String (XPath) |
The targeted element. |
Another set of commands is intended to manipulate the DOM. These commands share the destination
and mode
attributes:
Attribute |
Type |
Description |
---|---|---|
destination |
String (XPath) |
Destination of the reated/copied/moved/replaced element. The value is a valid XPath or JavaScript expression that refers to an element |
mode |
String (XPath) |
Specifies how the node will be placed in the DOM tree. If you do not specify this attribute... |