GET_COLLECTION_INFO  Examples

Used in:  REQUEST  
Servers:  Metadata (Browse)  
Parent elements:  GET_METADATA  

<GET_COLLECTION_INFO Attribute Description Table

     collection ="words | tags"
     orderby ="alphabet | queries"  [alphabet]
     tag ="string"
     zcode ="string"
>

     No Child Elements
</GET_COLLECTION_INFO >
Bold: Attribute or child element is required.


Description:


Restrictions:


Notes:


Attribute Descriptions for GET_COLLECTION_INFO:

Attribute Usage Back to Top
collection A collection is a set of zero or more published documents. A document is the set of metadata describing a dataset. A document is either unpublished or published. Unpublished documents coexist with datasets on local file systems. Published documents are accessible over the Internet through catalog services.
orderby When collection has the value of "words", specifices whether to order the word alphabetically or by the number of queries that have been issued against the word.
tag Defines the location of an element inside an XML tree. For example, the element "title" might be inside an XML structure such as

<idinfo>
  <citation>
    <citeinfo>
      <title>...</title>
    </citeinfo>
  </citation>
</idinfo>

To define "title", the string value for this attribute would be "idinfo/citation/citeinfo/title".
zcode Numeric code defining semantics from the GEO Attribute Set.
 

Examples for GET_COLLECTION_INFO:

Example 1: Back to Top
<?xml version="1.0" encoding="UTF-8" ?>
<ARCXML version="1.1">
  <REQUEST>
    <GET_METADATA>
      <GET_COLLECTION_INFO collection="words" orderby="queries" tag="metadata/dataqual/lineage/srcinfo/srccite/citeinfo/origin" />
    </GET_METADATA>      
  </REQUEST>
</ARCXML>