Previous Page | Next Page

Filtering a GetMetadataObjects Request

Attribute Criteria Component Syntax

The AttributeCriteria component is optional. It enables you to filter the objects that are selected to objects matching a specified attribute=value pair. The syntax of AttributeCriteria is as follows:

[@attrname cop 'value' lop AttributeCriteria]

Note:   Whether single, concatenated, or compound attribute criteria are used, the attribute test is applied only if all of the specified attribute names are valid for the object. That is, if one of the attribute names in the attribute string is misspelled, then no objects are selected.

If the OMI_INCLUDE_SUBTYPES flag is set with OMI_XMLSELECT, the metadata type and subtype objects to be tested might support a different set of attribute names. Only objects that contain all of the specified attribute names are tested for a match.  [cautionend]

Previous Page | Next Page | Top of Page