XMLElements
A collection of XML elements.
itemByName() does not work under UXP. Use evaluateXPathExpression() on the parent XMLElement instead.
Properties
| Name | Type |
Access | Description |
|---|
|
Number |
readonly |
The number of objects in the collection. |
Methods
Returns the XMLElement with the specified index.
→ XMLElement
Creates a new XML element.
markupTag
String | XMLTag
The XML tag used to identify the element. Can accept: String or XMLTag.
withProperties?
Object
Initial values for properties of the new XMLElement
Returns any XMLElement in the collection.
Displays the number of elements in the XMLElement.
Returns every XMLElement in the collection.
Returns the first XMLElement in the collection.
Returns the XMLElement with the specified index or name.
index
LongInteger | String
The index or name. Can accept: Long Integer or String.
Returns the XMLElement with the specified ID.
Returns the XMLElement with the specified name.
Returns the XMLElements within the specified range.
from
LongInteger | XMLElement | String
The XMLElement, index, or name at the beginning of the range. Can accept: XMLElement, Long Integer or String.
to
LongInteger | XMLElement | String
The XMLElement, index, or name at the end of the range. Can accept: XMLElement, Long Integer or String.
Returns the last XMLElement in the collection.
Returns the middle XMLElement in the collection.
Returns the XMLElement whose index follows the specified XMLElement in the collection.
obj
XMLElement
The XMLElement whose index comes before the desired XMLElement.
Returns the XMLElement with the index previous to the specified index.
obj
XMLElement
The index of the XMLElement that follows the desired XMLElement.
Generates a string which, if executed, will return the XMLElement.
Object of 2
Properties elsewhere that hold a XMLElements.
Parameter of 1
Method parameters that accept a XMLElements.