XML instruction
An XML processing instruction.
XML instruction properties
| Property |
Type |
Access |
Description |
| class |
integer |
read |
The class descriptor type. |
| data |
string |
r/w |
The data of the PI. |
| id |
integer |
read |
A unique number identifying the object. |
| index |
integer |
read |
Index of the object within its parent object. |
| object reference |
object |
read |
An object reference for this object. |
| parent |
object |
read |
The parent of the object. |
| properties |
record |
r/w |
Property that allows setting of several properties at the same time. |
| story offset |
integer |
read |
The location of the object from the beginning of the story. |
| target |
string |
r/w |
The target of the PI. |
XML instruction methods
| Method |
Returns |
Description |
| delete |
Nothing |
Delete the object. |
| duplicate |
object |
Duplicates the object. |
| move |
object |
Move element before/after another element or text object, or to beginning/end. |
| select |
Nothing |
Selects the object. |