TAGVALUE サンプル

適用: REQUEST  
サーバ: Metadata (Browse)  
親要素: SEARCH_METADATA  

<TAGVALUE 属性の概要

    equalto ="文字列"
    greaterthan ="文字列"
    greaterthanorequalto ="文字列"
    lessthan ="文字列"
    lessthanorequalto ="文字列"
    notequalto ="文字列"
    tag ="文字列"
     attribute ="文字列"
>

    子要素なし
</TAGVALUE >
太字:必須の属性もしくは子要素


概要


制限


注意


属性の概要

属性 使い方 トップに戻る
attribute 検索する属性の名前です。
equalto 2つの値を比較する"="演算子です。
greaterthan 2つの値を比較する">"演算子です。
greaterthanorequalto 2つの値を比較する">="演算子です。
lessthan 2つの値を比較する"<"演算子です。
lessthanorequalto 2つの値を比較する"<="演算子です。
notequalto 検索から特定の値を除きます。
tag XMLツリー内の要素の位置を定義します。例えば、"title"要素はXML構造で次のようになるかも知れません。

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

"title"を定義するこの属性の文字列値は"idinfo/citation/citeinfo/title"になります。
 

サンプル

サンプル 1: トップに戻る
<?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>