XMLXMLItems

A collection of XML items.

Instance Properties

Name Description Access
length number The number of objects in the collection. read-only

Methods

anyItem(
)
 → XMLItem
count(
)
 → number
everyItem(
)
 → XMLItem
firstItem(
)
 → XMLItem
item(
index)
 → XMLItem
itemByID(
id)
 → XMLItem
itemByRange(
from, to)
 → XMLItem
lastItem(
)
 → XMLItem
middleItem(
)
 → XMLItem
nextItem(
obj)
 → XMLItem
previousItem(
obj)
 → XMLItem
toSource(
)
 → string
anyItem(
)
 → XMLItem
Returns any XMLItem in the collection.
count(
)
 → number
Displays the number of elements in the XMLItem.
everyItem(
)
 → XMLItem
Returns every XMLItem in the collection.
firstItem(
)
 → XMLItem
Returns the first XMLItem in the collection.
item(
index)
 → XMLItem
Returns the XMLItem with the specified index or name.
index The index or name. Can accept: Long Integer or String.
itemByID(
id)
 → XMLItem
Returns the XMLItem with the specified ID.
id number The ID.
itemByRange(
from, to)
 → XMLItem
Returns the XMLItems within the specified range.
from The XMLItem, index, or name at the beginning of the range. Can accept: XMLItem, Long Integer or String.
to The XMLItem, index, or name at the end of the range. Can accept: XMLItem, Long Integer or String.
lastItem(
)
 → XMLItem
Returns the last XMLItem in the collection.
middleItem(
)
 → XMLItem
Returns the middle XMLItem in the collection.
nextItem(
obj)
 → XMLItem
Returns the XMLItem whose index follows the specified XMLItem in the collection.
obj XMLItem The XMLItem whose index comes before the desired XMLItem.
previousItem(
obj)
 → XMLItem
Returns the XMLItem with the index previous to the specified index.
obj XMLItem The index of the XMLItem that follows the desired XMLItem.
toSource(
)
 → string
Generates a string which, if executed, will return the XMLItem.