XMLAttributes
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
XMLAttribute [] (index:
number)
Returns the XMLAttribute with the specified index.
Parameter | Type | Description |
---|---|---|
index | number | The index. |
XMLAttribute add (name:
string, value:
string[, withProperties:
Object])
Creates a new XML attribute.
Parameter | Type | Description |
---|---|---|
name | string | The name of the attribute. |
value | string | The value of the attribute. |
withProperties | Object | 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.
Array of XMLAttribute everyItem ()
Returns every XMLAttribute in the collection.
XMLAttribute firstItem ()
Returns the first XMLAttribute in the collection.
XMLAttribute item (index:
varies)
Returns the XMLAttribute with the specified index or name.
Parameter | Type | Description |
---|---|---|
index | Long Integer String | 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 | string | The name. |
Array of XMLAttribute itemByRange (from:
varies, to:
varies)
Returns the XMLAttributes within the specified range.
Parameter | Type | Description |
---|---|---|
from | Long Integer String XMLAttribute | The XMLAttribute, index, or name at the beginning of the range. Can accept: XMLAttribute, Long Integer or String. |
to | Long Integer String XMLAttribute | 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 | XMLAttribute | 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 | XMLAttribute | The index of the XMLAttribute that follows the desired XMLAttribute. |
string toSource ()
Generates a string which, if executed, will return the XMLAttribute.
Element of
XMLElement.xmlAttributes
Jongware, 28-Apr-2012 v3.0.3h | Contents :: Index |