ArcPad Layer Definition File Schema
QUERYFRAGMENT Element
See Also  Send comments on this topic.
ArcPad Layer Definition File Schema > ArcPad Element > LAYER Element > FIND Element > QUERYBUILDER Element : QUERYFRAGMENT Element

Glossary Item Box

Description

Used to define a FIELD-OPERATOR-VALUE combination plus a logical operator to be used with the next query fragment (if present).

Diagram

QUERYFRAGMENT Element

Overview

QUERYFRAGMENT 1..∞
Used to define a FIELD-OPERATOR-VALUE combination plus a logical operator to be used with the next query fragment (if present).
field required xs:string
fragmentoperator optional Restriction of xs:string
The operator used to link the next query fragment to this one.
operator optional Restriction of xs:string
The comparison operator to apply to the field.
value optional xs:string
The comparison term for the query fragment.

Attributes

NameTypeUseDefaultFixedDescription
fieldxs:stringrequired   
fragmentoperatorRestriction of xs:stringoptionalAND The operator used to link the next query fragment to this one.
operatorRestriction of xs:stringoptional= The comparison operator to apply to the field.
valuexs:stringoptional  The comparison term for the query fragment.

Source

<xs:element name="QUERYFRAGMENT" maxOccurs="unbounded" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Used to define a FIELD-OPERATOR-VALUE combination plus a logical operator to be used with the next query fragment (if present).</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute use="required" ref="field">
      <xs:annotation>
        <xs:documentation>The attribute field in the layer that the queryfragment applies to.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="fragmentoperator" default="AND">
      <xs:annotation>
        <xs:documentation>The operator used to link the next query fragment to this one.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="AND" />
          <xs:enumeration value="OR" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="operator" default="=">
      <xs:annotation>
        <xs:documentation>The comparison operator to apply to the field.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="=" />
          <xs:enumeration value="&lt;&gt;" />
          <xs:enumeration value="&lt;" />
          <xs:enumeration value="&lt;=" />
          <xs:enumeration value="&gt;" />
          <xs:enumeration value="&gt;=" />
          <xs:enumeration value="=*" />
          <xs:enumeration value="*=" />
          <xs:enumeration value="*=*" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="value" type="xs:string">
      <xs:annotation>
        <xs:documentation>The comparison term for the query fragment.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2012 All Rights Reserved.