XMLItems

A collection of XML items.

Methods

XMLItemanyItem ()
Returns any XMLItem in the collection.

number count ()
Displays the number of elements in the XMLItem.

Array of XMLItemeveryItem ()
Returns every XMLItem in the collection.

XMLItemfirstItem ()
Returns the first XMLItem in the collection.

XMLItemitem (index:
any)
Returns the XMLItem with the specified index or name.

Parameter Type Description
index Long Integer
String
The index or name. Can accept: Long Integer or String.

XMLItemitemByID (id:
number)
Returns the XMLItem with the specified ID.

Parameter Type Description
id number The ID.

XMLItemitemByName (name:
string)
Returns the XMLItem with the specified name.

Parameter Type Description
name string The name.

Array of XMLItemitemByRange (from:
any, to:
any)
Returns the XMLItems within the specified range.

Parameter Type Description
from XMLItem
Long Integer
String
The XMLItem, index, or name at the beginning of the range. Can accept: XMLItem, Long Integer or String.
to XMLItem
Long Integer
String
The XMLItem, index, or name at the end of the range. Can accept: XMLItem, Long Integer or String.

XMLItemlastItem ()
Returns the last XMLItem in the collection.

XMLItemmiddleItem ()
Returns the middle XMLItem in the collection.

XMLItemnextItem (obj:
XMLItem)
Returns the XMLItem whose index follows the specified XMLItem in the collection.

Parameter Type Description
obj XMLItem The XMLItem whose index comes before the desired XMLItem.

XMLItempreviousItem (obj:
XMLItem)
Returns the XMLItem with the index previous to the specified index.

Parameter Type Description
obj XMLItem The index of the XMLItem that follows the desired XMLItem.

string toSource ()
Generates a string which, if executed, will return the XMLItem.

Element of:

Document.xmlItems
XMLElement.xmlItems
XMLItem.xmlItems

Leave a Comment

Previous post:

Next post: