<TAG | Attribute Description Table |
(r)indextype="STRING | VARCHAR | DOUBLE" (r)value="string" > No Child Elements </TAG > | |
(r): Attribute or child element is required. |
Attribute | Usage |
---|---|
indextype | Identifies how values in an XML element will be indexed. When searching, use criteria that are appropriate to the element data types.
|
value | 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 "title" is included in the XPath index, 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 preceeded by a slash (/). |
<?xml version="1.0" encoding="UTF8"?> <ARCXML version="1.1"> <RESPONSE> <METADATA> <COLLECTION_INFO> <TAG value="/metadata/idinfo/keywords/theme/themekey" indextype="VARCHAR" /> <TAG value="/metadata/idinfo/descript/abstract" indextype="STRING" /> <TAG value="/metadata/idinfo/citation/citeinfo/title" indextype="STRING" /> <TAG value="/metadata/idinfo/citation/citeinfo/geoform" indextype="VARCHAR" /> <TAG value="/metadata/idinfo/citation/citeinfo/pubdate" indextype="DOUBLE" /> <TAG value="/metadata/dataqual/cloud" indextype="DOUBLE" /> ... </COLLECTION_INFO> </METADATA> </RESPONSE> </ARCXML> |