-
add( |
target [, data=""], storyOffset [, withProperties]) |
→ XMLInstruction |
-
Creates a new XML processing instruction.
target
|
string
A name that identifies the processing instruction to an application reading the exported XML file.
|
data
|
string
A value that tells the application what to do with the processing instruction identified in the target. (Optional)
|
storyOffset
|
The location within the story, specified as an insertion point. Can accept: InsertionPoint or Long Integer. (Optional)
|
withProperties
|
Object
Initial values for properties of the new XMLInstruction (Optional)
|
-
-
Returns any XMLInstruction in the collection.
-
-
Displays the number of elements in the XMLInstruction.
-
-
Returns every XMLInstruction in the collection.
-
-
Returns the first XMLInstruction in the collection.
-
-
Returns the XMLInstruction with the specified index or name.
index
|
The index or name. Can accept: Long Integer or String.
|
-
-
Returns the XMLInstruction with the specified ID.
-
-
Returns the XMLInstructions within the specified range.
from
|
The XMLInstruction, index, or name at the beginning of the range. Can accept: XMLInstruction, Long Integer or String.
|
to
|
The XMLInstruction, index, or name at the end of the range. Can accept: XMLInstruction, Long Integer or String.
|
-
-
Returns the last XMLInstruction in the collection.
-
-
Returns the middle XMLInstruction in the collection.
-
-
Returns the XMLInstruction whose index follows the specified XMLInstruction in the collection.
obj
|
XMLInstruction
The XMLInstruction whose index comes before the desired XMLInstruction.
|
-
-
Returns the XMLInstruction with the index previous to the specified index.
obj
|
XMLInstruction
The index of the XMLInstruction that follows the desired XMLInstruction.
|
-
-
Generates a string which, if executed, will return the XMLInstruction.