Adobe InDesign CS (3.0) Object Model JS: XMLElements

InDesign CS

Class

XMLElements

 A collection of XML elements.

QuickLinks

add, count

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

XMLElement add (markupTag: any[, xmlContent: any][, withProperties: Object])
Create a new XML element

ParameterTypeDescription
markupTagString
XMLTag
The XML tag used to identify this element. Can accept: String or XMLTag.
xmlContentPageItem
Story
Text
Content to be marked up. Can accept: Text, Story or PageItem. (Optional)
withPropertiesObjectInitial values for properties of the new XMLElement (Optional)

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

Element of

Document.xmlElements

XMLElement.xmlElements

XMLItem.xmlElements

Jongware, 27-Jun-2010 v3.0.3dContents :: Index