TAGTEXT

Used in

REQUEST  

Servers

Metadata (Browse)  

Parent elements

SEARCH_METADATA 

Syntax

<TAGTEXTAttribute Description Table
     (r)tag="string"
     (r)word="string"
     attribute="string"
>

     No Child Elements
</TAGTEXT >
(r): Attribute or child element is required.

Description

Searches text within a specified element in metadata documents.

Notes


Attribute Descriptions for TAGTEXT

AttributeUsage
attributeName of an attribute for searching.
tagDefines 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 (/).
wordList of one or more words.
Back to top 

Examples for TAGTEXT

<?xml version="1.0" encoding="UTF-8" ?>
<ARCXML version="1.1">
  <REQUEST>
    <GET_METADATA>
      <SEARCH_METADATA operator="and">
        <ENVELOPE minx="-176.98" miny="18.93" maxx="-66.97" maxy="71.35" spatialoperator="within" />
        <TAGVALUE tag="metadata/dataqual/lineage/srcinfo/srccite/citeinfo/pubdate" greaterthan="1990" />
        <FULLTEXT word="cities"/>
        <SEARCH_METADATA operator="or">
          <TAGTEXT tag="metadata/idinfo/citation/citeinfo/geoform" word="data"/>
          <TAGTEXT tag="metadata/idinfo/citation/citeinfo/geoform" word="digital"/>
        </SEARCH_METADATA>
      </SEARCH_METADATA>
    </GET_METADATA>
  </REQUEST>
</ARCXML>

Back to top