InDesign Server2025
API 20.5.0.49
Collection of XMLRuleProcessor

XMLRuleProcessors

A collection of XML rule processors.

Properties

NameType AccessDescription
Number readonly The number of objects in the collection.

Methods

XMLRuleProcessor

Returns the XMLRuleProcessor with the specified index.

index Number The index.
XMLRuleProcessor

Create a new XMLRuleProcessor

rulePaths String[] The XPath condition paths of the rules in the rule set.
prefixMappingTable? Arrays of 2 Strings[] The namespace mapping table. Can accept: Array of Arrays of 2 Strings.
withProperties? Object Initial values for properties of the new XMLRuleProcessor
Number

Displays the number of elements in the XMLRuleProcessor.

XMLRuleProcessor[]

Returns every XMLRuleProcessor in the collection.

XMLRuleProcessor

Returns the first XMLRuleProcessor in the collection.

XMLRuleProcessor

Returns the XMLRuleProcessor with the specified index or name.

index LongInteger | String The index or name. Can accept: Long Integer or String.
XMLRuleProcessor

Returns the XMLRuleProcessor with the specified name.

name String The name.
XMLRuleProcessor[]

Returns the XMLRuleProcessors within the specified range.

from LongInteger | XMLRuleProcessor | String The XMLRuleProcessor, index, or name at the beginning of the range. Can accept: XMLRuleProcessor, Long Integer or String.
to LongInteger | XMLRuleProcessor | String The XMLRuleProcessor, index, or name at the end of the range. Can accept: XMLRuleProcessor, Long Integer or String.
XMLRuleProcessor

Returns the last XMLRuleProcessor in the collection.

XMLRuleProcessor

Returns the middle XMLRuleProcessor in the collection.

XMLRuleProcessor

Returns the XMLRuleProcessor whose index follows the specified XMLRuleProcessor in the collection.

obj XMLRuleProcessor The XMLRuleProcessor whose index comes before the desired XMLRuleProcessor.
XMLRuleProcessor

Returns the XMLRuleProcessor with the index previous to the specified index.

obj XMLRuleProcessor The index of the XMLRuleProcessor that follows the desired XMLRuleProcessor.
String

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

Object of 1

Properties elsewhere that hold a XMLRuleProcessors.