Instance Properties
Name | Description | Access |
---|---|---|
length | number The number of objects in the collection. | read-only |
Methods
add( | name, value [, withProperties]) |
→ XMLAttribute |
anyItem( | ) |
→ XMLAttribute |
count( | ) |
→ number |
everyItem( | ) |
→ XMLAttribute |
firstItem( | ) |
→ XMLAttribute |
item( | index) |
→ XMLAttribute |
itemByName( | name) |
→ XMLAttribute |
itemByRange( | from, to) |
→ XMLAttribute |
lastItem( | ) |
→ XMLAttribute |
middleItem( | ) |
→ XMLAttribute |
nextItem( | obj) |
→ XMLAttribute |
previousItem( | obj) |
→ XMLAttribute |
toSource( | ) |
→ string |
-
add( name, value [, withProperties])→ XMLAttribute -
Creates a new XML attribute.
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) -
anyItem( )→ XMLAttribute -
Returns any XMLAttribute in the collection.
-
count( )→ number -
Displays the number of elements in the XMLAttribute.
-
everyItem( )→ XMLAttribute -
Returns every XMLAttribute in the collection.
-
firstItem( )→ XMLAttribute -
Returns the first XMLAttribute in the collection.
-
item( index)→ XMLAttribute -
Returns the XMLAttribute with the specified index or name.
index
The index or name. Can accept: Long Integer or String. -
itemByName( name)→ XMLAttribute -
Returns the XMLAttribute with the specified name.
name
string The name. -
itemByRange( from, to)→ XMLAttribute -
Returns the XMLAttributes within the specified range.
from
The XMLAttribute, index, or name at the beginning of the range. Can accept: XMLAttribute, Long Integer or String. to
The XMLAttribute, index, or name at the end of the range. Can accept: XMLAttribute, Long Integer or String. -
lastItem( )→ XMLAttribute -
Returns the last XMLAttribute in the collection.
-
middleItem( )→ XMLAttribute -
Returns the middle XMLAttribute in the collection.
-
nextItem( obj)→ XMLAttribute -
Returns the XMLAttribute whose index follows the specified XMLAttribute in the collection.
obj
XMLAttribute The XMLAttribute whose index comes before the desired XMLAttribute. -
previousItem( obj)→ XMLAttribute -
Returns the XMLAttribute with the index previous to the specified index.
obj
XMLAttribute The index of the XMLAttribute that follows the desired XMLAttribute. -
toSource( )→ string -
Generates a string which, if executed, will return the XMLAttribute.