-
add( |
markupTag, xmlContent [, withProperties]) |
→ XMLElement |
-
Creates a new XML element.
markupTag
|
The XML tag used to identify the element. Can accept: String or XMLTag.
|
xmlContent
|
The content to be marked up. Can accept: Text, Story, PageItem, Movie, Sound, Graphic, Table or Cell. (Optional)
|
withProperties
|
Object
Initial values for properties of the new XMLElement (Optional)
|
-
-
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
|
The index or name. Can accept: Long Integer or String.
|
-
-
Returns the XMLElement with the specified ID.
-
-
Returns the XMLElements within the specified range.
from
|
The XMLElement, index, or name at the beginning of the range. Can accept: XMLElement, Long Integer or String.
|
to
|
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.