XMLTags

A collection of XML tags.

Methods

XMLTagadd ([name:
string][, tagColor:
any][, withProperties:
Object])
Creates a tag.

Parameter Type Description
name string The name of the tag. (Optional)
tagColor Array of 3 Reals (0 – 255)
UIColors
The dolor of the tag, specified either as an array of three doubles, each in the range 0 to 255 and representing R, G, and B values, or as a UI color. Can accept: Array of 3 Reals (0 – 255) or UIColors enumerator. (Optional)
withProperties Object Initial values for properties of the new XMLTag (Optional)

XMLTaganyItem ()
Returns any XMLTag in the collection.

number count ()
Displays the number of elements in the XMLTag.

Array of XMLTageveryItem ()
Returns every XMLTag in the collection.

XMLTagfirstItem ()
Returns the first XMLTag in the collection.

XMLTagitem (index:
any)
Returns the XMLTag with the specified index or name.

Parameter Type Description
index Long Integer
String
The index or name. Can accept: Long Integer or String.

XMLTagitemByID (id:
number)
Returns the XMLTag with the specified ID.

Parameter Type Description
id number The ID.

XMLTagitemByName (name:
string)
Returns the XMLTag with the specified name.

Parameter Type Description
name string The name.

Array of XMLTagitemByRange (from:
any, to:
any)
Returns the XMLTags within the specified range.

Parameter Type Description
from XMLTag
Long Integer
String
The XMLTag, index, or name at the beginning of the range. Can accept: XMLTag, Long Integer or String.
to XMLTag
Long Integer
String
The XMLTag, index, or name at the end of the range. Can accept: XMLTag, Long Integer or String.

XMLTaglastItem ()
Returns the last XMLTag in the collection.

XMLTagmiddleItem ()
Returns the middle XMLTag in the collection.

XMLTagnextItem (obj:
XMLTag)
Returns the XMLTag whose index follows the specified XMLTag in the collection.

Parameter Type Description
obj XMLTag The XMLTag whose index comes before the desired XMLTag.

XMLTagpreviousItem (obj:
XMLTag)
Returns the XMLTag with the index previous to the specified index.

Parameter Type Description
obj XMLTag The index of the XMLTag that follows the desired XMLTag.

string toSource ()
Generates a string which, if executed, will return the XMLTag.

Element of:

Application.xmlTags
Document.xmlTags

Leave a Comment

Previous post:

Next post: