XMLInstructions

A collection of XML instructions.

Methods:

add, count

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

XMLInstruction add (storyOffset:Varies InsertionPoint Long, [target:String=String], [data:String=String], withProperties:Object)

Creates a new XML processing instruction.

Parameter

Type

Description

storyOffset

InsertionPoint

Long

The location within the story, specified as an insertion point. Can accept: InsertionPoint or Long.

target

String

A name that identifies the processing instruction to an application reading the exported XML file. (Optional)

(default: )

data

String

A value that tells the application what to do with the processing instruction. (Optional)

(default: )

withProperties

Object

Initial values for properties of the new XMLInstruction (Optional)

Number count ()

Displays the number of elements in the XMLInstruction.

Object of

Document.xmlInstructions

XMLElement.xmlInstructions

XMLItem.xmlInstructions