Filtering a GetMetadataObjects Request |
The <XMLSELECT> element is specified within the <OPTIONS> element 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> element can be specified as one of the following:
Object[AttributeCriteria] AttributeCriteria (AttributeCriteria)
A statement that concatenates attribute criteria is specified as one of the following:
Object[AttributeCriteria and|or AttributeCriteria]
AttributeCriteria and|or AttributeCriteria
(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:
Object[AssociationPath]
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 is specified as:
Object[AssociationPath1][AssociationPath2][AssociationPath3]
A description of each syntax component is provided in the following topics:
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.