A collection of DTDs.
Methods
DTDanyItem ()
Returns any DTD in the collection.
number count ()
Displays the number of elements in the DTD.
Array of DTDeveryItem ()
Returns every DTD in the collection.
DTDfirstItem ()
Returns the first DTD in the collection.
DTDitem (index:
any)
Returns the DTD with the specified index or name.
| Parameter | Type | Description |
|---|---|---|
| index | Long Integer String |
The index or name. Can accept: Long Integer or String. |
DTDitemByID (id:
number)
Returns the DTD with the specified ID.
| Parameter | Type | Description |
|---|---|---|
| id | number | The ID. |
DTDitemByName (name:
string)
Returns the DTD with the specified name.
| Parameter | Type | Description |
|---|---|---|
| name | string | The name. |
Array of DTDitemByRange (from:
any, to:
any)
Returns the DTDs within the specified range.
| Parameter | Type | Description |
|---|---|---|
| from | DTD Long Integer String |
The DTD, index, or name at the beginning of the range. Can accept: DTD, Long Integer or String. |
| to | DTD Long Integer String |
The DTD, index, or name at the end of the range. Can accept: DTD, Long Integer or String. |
DTDlastItem ()
Returns the last DTD in the collection.
DTDmiddleItem ()
Returns the middle DTD in the collection.
DTDnextItem (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. |
DTDpreviousItem (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.
Element of:
Document.dtds