METADATA

Used in

RESPONSE  

Servers

Metadata  

Parent elements

RESPONSE 

Syntax

<METADATAAttribute Description Table
     numresults="integer"
     startresult="string"
     total="integer"
>

     (r)<COLLECTION_INFO... /> [Or]
     (r)<CONTENT_INFO... /> [Or]
     (r)(m)<DELETED_DATASET... /> [Or]
     (r)(m)<DELETED_RELATIONSHIP... /> [Or]
     (r)(m)<METADATA_DATASET... /> [Or]
     (r)(m)<METADATA_RELATIONSHIP... /> [Or]
     (r)(m)<USER... /> [Or]
     (r)(m)<UUID... /> [Or]

</METADATA >
(r): Attribute or child element is required.
(m):  Child element can be used multiple times.

Description

Parent element used with all metadata responses.

Restrictions


Attribute Descriptions for METADATA

AttributeUsage
numresultsNumber of datasets returned in the response.
startresultReturns startresult attribute value used in request.
totalThe number of documents retrieved from the database to fulfill a request. This value represents the number of documents returned in each response and does not represent the total number of documents that meet the criteria. Some examples include:
  • A SEARCH_METADATA request specifies maxresults="10" and startresult="0". If the query finds 10 or more documents, METADATA numresults and total are both "10".
  • A SEARCH_METADATA request does not specify maxresults. If the query finds 25 documents, METADATA numresults and total are both "25".
  • A SEARCH_METADATA request specifies maxresults="10" and startresult="5". If 25 documents meet the requirement, METADATA numresults="10" and total="15" because 15 documents were retrieved in order to provide 10 documents beginning from position 5.

Prior to ArcIMS 9.1, this attribute had a different behavior. The grand total of documents found in database for the given search criteria was included in the value.
Back to top 

Examples for METADATA

<?xml version="1.0" encoding="UTF8" ?>
<ARCXML version="1.1">
  <RESPONSE>
    <METADATA numresults="1" startresult="0" total="1">
      <METADATA_DATASET name="metadata" owner="author" docid="{CD4AEFEF-896E-45EC-9A7E-EEBA823370C5}" content="unknown" url="http://mymachine.domain.com/output/OracleMetadata_P375_T437_D18.xml" children="true" siblings="false" private="false" folder="true" index_status="indexed" refcount="1" updated="2002-02-11 14:51:14" >
        <ENVELOPE minx="-141.001235918609" miny="41.3912889520516" maxx="-71.2933350698463" maxy="68.6637039277661" />
      </METADATA_DATASET>
    </METADATA>
  </RESPONSE>
</ARCXML>

Back to top