| <TAGVALUE | Attribute Description Table |
| (r)equalto="string" (r)greaterthan="string" (r)greaterthanorequalto="string" (r)lessthan="string" (r)lessthanorequalto="string" (r)notequalto="string" (r)tag="string" attribute="string" > No Child Elements </TAGVALUE > | |
| (r): Attribute or child element is required. | |
| Attribute | Usage |
|---|---|
| attribute | Name of an attribute for searching. |
| equalto | Equal to operator for comparing two values. |
| greaterthan | Greater than operator for comparing two values. |
| greaterthanorequalto | Greater than or equal to operator for comparing two values. |
| lessthan | Less than operator for comparing two values. |
| lessthanorequalto | Less than or equal to operator for comparing two values. |
| notequalto | Eliminates a particular value from the search. |
| tag | Defines the location of an element inside an XML tree. For example, the element "title" might be inside an XML structure such as <metadata> <idinfo> <citation> <citeinfo> <title>...</title> </citeinfo> </citation> </idinfo> <metadata> When searching the contents of "title", the string value for this attribute would be "metadata/idinfo/citation/citeinfo/title" where "metadata" is the root element in the XML document and the root element is not preceeded by a slash (/). |
| <?xml version="1.0" encoding="UTF-8"?> <ARCXML version="1.1"> <REQUEST> <GET_METADATA> <SEARCH_METADATA operator="and" maxresults="10" startresult="0" > <TAGVALUE tag="metadata/idinfo/citation/citeinfo/pubdate" greaterthanorequalto="20001006" lessthanorequalto="20010104"/> </SEARCH_METADATA> </GET_METADATA> </REQUEST> </ARCXML> |