XMLInstruction

An XML processing instruction.

XMLInstruction Properties

Property Type Access Description
data String r/w The data of the PI.
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.
target String r/w The target of the PI.

XMLInstruction 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.

Leave a Comment

Previous post:

Next post: