Adobe InDesign CS (3.0) Object Model JS: XMLAttribute

InDesign CS

Class

XMLAttribute

 An XML attribute.

QuickLinks

remove, select

Hierarchy

XMLElement
XMLAttribute

Properties

PropertyTypeAccessDescription
indexnumber readonlyThe index of the XMLAttribute within its containing object.
namestring r/wThe name of the XMLAttribute.
parentXMLElement readonlyThe parent of the XMLAttribute (a XMLElement).
propertiesObject r/wA property that allows setting of several properties at the same time.
valuestring r/wThe value of the XMLAttribute.

Methods

Instances

void remove ()
Deletes the XMLAttribute.

void select ([existingSelection: SelectionOptions=SelectionOptions.REPLACE])
Select this object.

ParameterTypeDescription
existingSelectionSelectionOptions:
SelectionOptions.ADD_TO
SelectionOptions.REMOVE_FROM
SelectionOptions.REPLACE
How to handle the existing selection (Optional) (default: SelectionOptions.REPLACE)

Return

XMLAttribute XMLAttributes.add (name: string, value: string[, withProperties: Object])

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