XMLElements

A collection of XML elements.

Methods:

add, count

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

XMLElement add (markupTag:Varies String XMLTag, xmlContent:Varies Story Text PageItem, withProperties:Object)

Create a new XML element

Parameter

Type

Description

markupTag

String

XMLTag

The XML tag used to identify this element. Can accept: String or XMLTag.

xmlContent

Story

Text

PageItem

Content to be marked up. Can accept: Text, Story or PageItem. (Optional)

withProperties

Object

Initial values for properties of the new XMLElement (Optional)

Number count ()

Displays the number of elements in the XMLElement.

Object of

Document.xmlElements

XMLElement.xmlElements

XMLItem.xmlElements