XMLAttribute

An XML attribute.

Methods:

remove, select

Objects:

Number, Object, String,

Property Listing

Property

Type

Access

Description

index

Number

readonly

The index of the XMLAttribute within its containing object.

name

String

read/write

The name of the XMLAttribute.

parent

XMLElement

readonly

The parent of the XMLAttribute (a XMLElement).

properties

Object

read/write

A property that allows setting of several properties at the same time.

value

String

read/write

The value of the XMLAttribute.

Method Listing

undefined remove ()

Deletes the XMLAttribute.

undefined select ([existingSelection:SelectionOptions=SelectionOptions])

Select this object.

Parameter

Type

Description

existingSelection

SelectionOptions

SelectionOptions.ADD_TO

SelectionOptions.REMOVE_FROM

SelectionOptions.REPLACE

How to handle the existing selection (Optional)

(default: SelectionOptions.REPLACE)

Return

XMLAttributes.add()