XMLComments

A collection of XML comments.

Methods:

add, count

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

XMLComment add (storyOffset:Varies InsertionPoint Long, [value:String=String], withProperties:Object)

Creates a new XML comment.

Parameter

Type

Description

storyOffset

InsertionPoint

Long

The offset within the story. Can accept: InsertionPoint or Long.

value

String

The text of the XML comment. (Optional)

(default: )

withProperties

Object

Initial values for properties of the new XMLComment (Optional)

Number count ()

Displays the number of elements in the XMLComment.

Object of

Document.xmlComments

XMLElement.xmlComments

XMLItem.xmlComments