| Top |  |  |  |  | 
Figure 124. Schema fragment for dst:Query
<xs:element name="Query" type="QueryType"/>
<xs:complexType name="QueryType">
    <xs:sequence>
        <xs:group ref="ResourceIDGroup" minOccurs="0"/>
   <xs:element name="QueryItem" maxOccurs="unbounded"/>
   <xs:element ref="Extension" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="id" type="xs:ID"/>
    <xs:attribute name="itemID" type="IDType"/>
</xs:complexType>
<xs:simpleType name="IDReferenceType">
  <xs:annotation>
    <xs:documentation> This type can be used when referring to elements that are
      identified using an IDType </xs:documentation>
    </xs:annotation>
  <xs:restriction base="xs:string"/>
</xs:simpleType>
LassoDstQuery *
lasso_dst_query_new (LassoDstQueryItem *query_item);
Creates a new LassoDstQuery object.  If query_item
 is set it is added to
the requested query items.