A collection of XML attributes.
Go to Property Listing | Method Listing
[], add, anyItem, count, everyItem, firstItem, item, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The number of objects in the collection. |
XMLAttribute [] (index:Number)
Returns the XMLAttribute with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
The index. |
XMLAttribute add (name:String, value:String, withProperties:Object)
Creates a new XML attribute.
Parameter |
Type |
Description |
---|---|---|
name |
The name of the attribute. |
|
value |
The value of the attribute. |
|
withProperties |
Initial values for properties of the new XMLAttribute (Optional) |
XMLAttribute anyItem ()
Returns any XMLAttribute in the collection.
Number count ()
Displays the number of elements in the XMLAttribute.
XMLAttribute everyItem ()
Returns every XMLAttribute in the collection.
XMLAttribute firstItem ()
Returns the first XMLAttribute in the collection.
XMLAttribute item (index:Varies LongInteger String)
Returns the XMLAttribute with the specified index or name.
Parameter |
Type |
Description |
---|---|---|
index |
LongInteger |
The index or name. Can accept: Long Integer or String. |
XMLAttribute itemByName (name:String)
Returns the XMLAttribute with the specified name.
Parameter |
Type |
Description |
---|---|---|
name |
The name. |
XMLAttribute itemByRange (from:Varies LongInteger XMLAttribute String, to:Varies LongInteger XMLAttribute String)
Returns the XMLAttributes within the specified range.
Parameter |
Type |
Description |
---|---|---|
from |
LongInteger |
The XMLAttribute, index, or name at the beginning of the range. Can accept: XMLAttribute, Long Integer or String. |
to |
LongInteger |
The XMLAttribute, index, or name at the end of the range. Can accept: XMLAttribute, Long Integer or String. |
XMLAttribute lastItem ()
Returns the last XMLAttribute in the collection.
XMLAttribute middleItem ()
Returns the middle XMLAttribute in the collection.
XMLAttribute nextItem (obj:XMLAttribute)
Returns the XMLAttribute whose index follows the specified XMLAttribute in the collection.
Parameter |
Type |
Description |
---|---|---|
obj |
The XMLAttribute whose index comes before the desired XMLAttribute. |
XMLAttribute previousItem (obj:XMLAttribute)
Returns the XMLAttribute with the index previous to the specified index.
Parameter |
Type |
Description |
---|---|---|
obj |
The index of the XMLAttribute that follows the desired XMLAttribute. |
String toSource ()
Generates a string which, if executed, will return the XMLAttribute.
XMLElement.xmlAttributes