Fast Query

Fast queries are a subset of the XML Query language, enabling users to run queries more quickly. A fast query can be used when the exact path to the information is known. A fast query accepts single slashes, nodes, and brackets. It is used for returning a single value, does not accept attributes, and cannot be used with Multiple Query Matching.

Examples of fast queries:

lr.xmlGetValues("Xml={CdCatalog}",
    "ValueParam=OutputParam",
    "FastQuery=/catalog/cd[1000]/title",
    LAST );
lr.xmlExtract("Xml={CdCatalog}",
    "XMLFragmentParam=OutputParam",
    "FastQuery=/catalog/cd[5000]",
    LAST );