XMLItems
A collection of XML items.
Go to Property Listing | Method Listing
Methods:
[], anyItem, count, everyItem, firstItem, item, itemByID, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The number of objects in the collection. |
Method Listing
XMLItem [] (index:Number)
Returns the XMLItem with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
The index. |
XMLItem anyItem ()
Returns any XMLItem in the collection.
Number count ()
Displays the number of elements in the XMLItem.
XMLItem everyItem ()
Returns every XMLItem in the collection.
XMLItem firstItem ()
Returns the first XMLItem in the collection.
XMLItem item (index:Varies LongInteger String)
Returns the XMLItem with the specified index or name.
Parameter |
Type |
Description |
---|---|---|
index |
LongInteger |
The index or name. Can accept: Long Integer or String. |
XMLItem itemByID (id:Number)
Returns the XMLItem with the specified ID.
Parameter |
Type |
Description |
---|---|---|
id |
The ID. |
XMLItem itemByRange (from:Varies LongInteger XMLItem String, to:Varies LongInteger XMLItem String)
Returns the XMLItems within the specified range.
Parameter |
Type |
Description |
---|---|---|
from |
LongInteger |
The XMLItem, index, or name at the beginning of the range. Can accept: XMLItem, Long Integer or String. |
to |
LongInteger |
The XMLItem, index, or name at the end of the range. Can accept: XMLItem, Long Integer or String. |
XMLItem lastItem ()
Returns the last XMLItem in the collection.
XMLItem middleItem ()
Returns the middle XMLItem in the collection.
XMLItem nextItem (obj:XMLItem)
Returns the XMLItem whose index follows the specified XMLItem in the collection.
Parameter |
Type |
Description |
---|---|---|
obj |
The XMLItem whose index comes before the desired XMLItem. |
XMLItem previousItem (obj:XMLItem)
Returns the XMLItem with the index previous to the specified index.
Parameter |
Type |
Description |
---|---|---|
obj |
The index of the XMLItem that follows the desired XMLItem. |
String toSource ()
Generates a string which, if executed, will return the XMLItem.
Object of
Document.xmlItems
XMLElement.xmlItems