XmlStories

A collection of xml stories.

Methods:

[], anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

XmlStory [] (index:Number)

Returns the XmlStory with the specified index.

Parameter

Type

Description

index

Number

The index.

XmlStory anyItem ()

Returns any XmlStory in the collection.

Number count ()

Displays the number of elements in the XmlStory.

XmlStory everyItem ()

Returns every XmlStory in the collection.

XmlStory firstItem ()

Returns the first XmlStory in the collection.

XmlStory item (index:Varies LongInteger String)

Returns the XmlStory with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

The index or name. Can accept: Long Integer or String.

XmlStory itemByID (id:Number)

Returns the XmlStory with the specified ID.

Parameter

Type

Description

id

Number

The ID.

XmlStory itemByName (name:String)

Returns the XmlStory with the specified name.

Parameter

Type

Description

name

String

The name.

XmlStory itemByRange (from:Varies LongInteger XmlStory String, to:Varies LongInteger XmlStory String)

Returns the XmlStories within the specified range.

Parameter

Type

Description

from

LongInteger

XmlStory

String

The XmlStory, index, or name at the beginning of the range. Can accept: XmlStory, Long Integer or String.

to

LongInteger

XmlStory

String

The XmlStory, index, or name at the end of the range. Can accept: XmlStory, Long Integer or String.

XmlStory lastItem ()

Returns the last XmlStory in the collection.

XmlStory middleItem ()

Returns the middle XmlStory in the collection.

XmlStory nextItem (obj:XmlStory)

Returns the XmlStory whose index follows the specified XmlStory in the collection.

Parameter

Type

Description

obj

XmlStory

The XmlStory whose index comes before the desired XmlStory.

XmlStory previousItem (obj:XmlStory)

Returns the XmlStory with the index previous to the specified index.

Parameter

Type

Description

obj

XmlStory

The index of the XmlStory that follows the desired XmlStory.

String toSource ()

Generates a string which, if executed, will return the XmlStory.

Object of

Document.xmlStories