InDesign2026
API 21.5.1.73
Collection of XmlStory

XmlStories

A collection of xml stories.

Properties

NameType AccessDescription
Number readonly The number of objects in the collection.

Methods

XmlStory

Returns the XmlStory with the specified index.

index Number The index.
XmlStory

Returns any XmlStory in the collection.

Number

Displays the number of elements in the XmlStory.

XmlStory[]

Returns every XmlStory in the collection.

XmlStory

Returns the first XmlStory in the collection.

XmlStory

Returns the XmlStory with the specified index or name.

index LongInteger | String The index or name. Can accept: Long Integer or String.
XmlStory

Returns the XmlStory with the specified ID.

id Number The ID.
XmlStory

Returns the XmlStory with the specified name.

name String The name.
XmlStory[]

Returns the XmlStories within the specified range.

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

Returns the last XmlStory in the collection.

XmlStory

Returns the middle XmlStory in the collection.

XmlStory

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

obj XmlStory The XmlStory whose index comes before the desired XmlStory.
XmlStory

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

obj XmlStory The index of the XmlStory that follows the desired XmlStory.
String

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

Object of 1

Properties elsewhere that hold a XmlStories.