The <XMLSELECT>
element is specified in the OPTIONS parameter in the following form:
<XMLSELECT search="criteria"/>
The syntax of
criteria varies depending on whether you are
specifying attribute criteria, association path criteria, or both.
A statement that specifies
only attribute criteria on the metadata type defined in the GetMetadataObjects
TYPE parameter can be specified as one of the following:
AttributeCriteria
(AttributeCriteria)
Object[AttributeCriteria]
A statement that concatenates
attribute criteria is specified as one of the following:
AttributeCriteria and|or AttributeCriteria
(AttributeCriteria and|or
AttributeCriteria)
Object[AttributeCriteria and|or
AttributeCriteria]
In a statement that
specifies only attribute criteria, the brackets and parentheses around
the criteria are optional. For all other syntax combinations, the
brackets and parentheses must be specified as shown.
A statement that specifies
both attribute criteria and an association path as criteria is specified
as follows:
Object[AttributeCriteria][AssociationPath]
A statement that specifies
only an association path as criteria is specified as follows:
A statement that specifies
an association path that has multiple association levels defined is
specified as follows:
Object[AssociationPathLevel1/AssociationPathLevel2/AssociationPathLeveln]
A statement that concatenates
association path criteria can be specified as follows:
Object[AssociationPath1][AssociationPath2][AssociationPath3]
Object[AssociationPath1] or [AssociationPath2] or [AssociationPath3]
Object[AssociationPath1] and [AssociationPath2] and [AssociationPath3]
Object[AssociationPath1] and [AssociationPath2] or [AssociationPath3]
The first example has
an implied AND logical operator between association paths.
A statement that specifies
the NOT logical operator in attribute criteria is specified as follows:
A statement that specifies
the NOT function is specified as follows:
object[not(AssociationPath)]
object[not(AssociationPathLevel1/AssociationPathLevel2)]