Adds an event listener.
Object
XMLAttribute
An XML attribute.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| EventListeners |
readonly | A collection of event listeners. | |
| Events |
readonly | A collection of events. | |
| Number | readonly | The index of the XMLAttribute within its containing object. | |
| Boolean | readonly | Returns true if the object specifier resolves to valid objects. | |
| String | read/write | The name of the XMLAttribute. | |
| XMLElement | readonly | The parent of the XMLAttribute (a XMLElement). | |
| Object | read/write | A property that allows setting of several properties at the same time. | |
| String | read/write | The value of the XMLAttribute. |
Methods
Converts the XML attribute to a child element of its parent element.
located?
XMLElementLocation
The location of the new XML element within the parent XML element of the XML attribute.
→ XMLAttribute[]
Resolves the object specifier, creating an array of object references.
→ void
Deletes the XMLAttribute.
→ Boolean
Removes the event listener.
→ String
Generates a string which, if executed, will return the XMLAttribute.
→ String
Retrieves the object specifier.
Object of 3
Properties elsewhere that hold a XMLAttribute.
Parameter of 3
Method parameters that accept a XMLAttribute.
Return 14
Methods that return a XMLAttribute.
XMLAttribute.getElements()XMLAttributes.[]()XMLAttributes.add()XMLAttributes.anyItem()XMLAttributes.everyItem()XMLAttributes.firstItem()XMLAttributes.item()XMLAttributes.itemByName()XMLAttributes.itemByRange()XMLAttributes.lastItem()XMLAttributes.middleItem()XMLAttributes.nextItem()XMLAttributes.previousItem()XMLElement.convertToAttribute()