XMLRuleMatchData

An XML element matched by a rule or rules in the current XML rule set.

Methods:

getElements, toSource, toSpecifier

Objects:

Number, Object, XMLItem,

Property Listing

Property

Type

Access

Description

element

XMLItem

readonly

An XML element matched by a rule or rules in the current XML rule set.

index

Number

readonly

The index of the XMLRuleMatchData within its containing object.

matchRules

Array of Number

readonly

The indices of matching XML rules in the rule set.

parent

XMLRuleProcessor

readonly

The parent of the XMLRuleMatchData (a XMLRuleProcessor).

properties

Object

read/write

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

Method Listing

XMLRuleMatchData getElements ()

Resolves the object specifier, creating an array of object references.

String toSource ()

Generates a string which, if executed, will return the XMLRuleMatchData.

String toSpecifier ()

Retrieves the object specifier.

Return

XMLRuleProcessor.findNextMatch()

XMLRuleProcessor.startProcessingSubtree()

XMLRuleMatchData.getElements()

XMLRuleProcessor.startProcessingRuleSet()