XMLComment
An XML comment.
XMLComment Properties
| Property |
Type |
Access |
Description |
| id |
Long |
read |
A unique number identifying the object. |
| index |
Long |
read |
Index of the object within its parent object. |
| parent |
Object |
read |
The parent of the object. |
| properties |
An array of property names and values |
r/w |
Property that allows setting of several properties at the same time. |
| storyOffset |
Long |
read |
The location of the object from the beginning of the story. |
| value |
String |
r/w |
The comment’s value. |
XMLComment Methods
| Method |
Returns |
Description |
| duplicate |
Object |
Duplicates the object. |
| getElements |
Array of Objects |
Resolve the object specifier. |
| move |
Object |
Move element before/after another element or text object, or to beginning/end. |
| remove |
Nothing |
Delete the object. |
| select |
Nothing |
Selects the object. |
| toSource |
String |
Generate JavaScript source that, if executed, will return the specified objects. |
| toSpecifier |
String |
Retrieve the object specifier. |
Previous post: XMLComments
Next post: XMLAttributes