DTDs

A collection of DTDs.

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

DTD anyItem ()

Returns any DTD in the collection.

Number count ()

Displays the number of elements in the DTD.

DTD everyItem ()

Returns every DTD in the collection.

DTD firstItem ()

Returns the first DTD in the collection.

DTD item (index:Varies Long String)

Returns the DTD with the specified index or name.

Parameter

Type

Description

index

Long

String

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

DTD itemByID (id:Number)

Returns the DTD with the specified ID.

Parameter

Type

Description

id

Number

The ID.

DTD itemByName (name:String)

Returns the DTD with the specified name.

Parameter

Type

Description

name

String

The name.

DTD itemByRange (from:Varies DTD Long String, to:Varies DTD Long String)

Returns the DTDs within the specified range.

Parameter

Type

Description

from

DTD

Long

String

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

to

DTD

Long

String

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

DTD lastItem ()

Returns the last DTD in the collection.

DTD middleItem ()

Returns the middle DTD in the collection.

DTD nextItem (obj:DTD)

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

Parameter

Type

Description

obj

DTD

The DTD whose index comes before the desired DTD.

DTD previousItem (obj:DTD)

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

Parameter

Type

Description

obj

DTD

The index of the DTD that follows the desired DTD.

String toSource ()

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

Object of

Document.dtds

XMLElement.dtds

XMLItem.dtds