Command "Index"

Summary

Creates an index for an element. The command belongs to the group "Performance".


Parameters

Parameter Name Description Type
AttrNames The list of the attributes used for the index (comma-seperated list). valueexpression
NodeRef The Node which has to be indexed. nodeReference

Valid parameter combinations



Description

Sets an index on the referenced element and the listed attributes. Indices increase the access speed to an element and its attributes.

Examples


Example 1

The example below sets an index on the element "myIndexedElement" and its attributes "color" and "size"
<Index NodeRef="$myIndexedElement" AttrNames="'color,size'"/>