3.1.4.1.3.1.3 List Data Response

startPosition: A string that specifies the beginning of the next page if paging is supported in the data payload. The string value can be used to retrieve next page data in the subsequent request for data using this protocol.

resultNamespace: If this attribute specifies a namespace, the data payload in the response MUST use the specified namespace. If not set, an empty string MUST be used as the namespace. If set to an invalid namespace string, the response MUST be an exception.

resultPrefix: If resultPrefix and resultNamespace are set, the namespace for the data payload MUST be the resultNamespace with the namespace prefix specified as "resultPrefix". If resultNamespace is not set and resultPrefix is set, the response MUST be an exception. If resultPrefix is not set, the response MUST use a blank result namespace prefix for the namespace.

resultRoot: If set to a non-empty string, the response MUST use the resultRoot value as the name of the root element for the data payload. If not set, the response MUST use the name of the list being queried as the name of the root element for the data payload.

resultRow: If set to a non-empty string, the response MUST use the resultRow value as the name of the element for each row of data in the data payload. If not set or if set to an empty string, the response MUST use the name of the list being queried with "_Row" appended as the name of the element for each row of data in the data payload.

comparisonLocale: If the locale is not present or not supported, the default locale of the server MUST be used. If set to a supported LCID value, any string comparisons MUST use the comparisonLocale value.

Query: Element as specified in section 3.1.4.1.3.2.

resultContent: Attribute as specified in section 3.1.4.1.4.2.

columnMapping: Attribute as specified in section 3.1.4.1.4.3.

Based on the columnMapping setting, the response SHOULD<2> contain data that conforms to the following table.

The value of the columnMapping attribute in the columnMapping column results in data that conforms to the schema in the Schema column of the following table for the corresponding row. The resultRoot and resultRow values shown in the table are placeholders for the actual resultRow and resultRoot values as described in the preceding list. The sequence attribute that is a child of the resultRow element MUST contain one element or attribute entry for each column of data that is returned in the response.

columnMapping attribute

Schema

element

 <x:schema   xmlns:d="http://schemas.microsoft.com/sharepoint/dsp"   xmlns:x="http://www.w3.org/2001/XMLSchema">
      <x:element name="resultRoot">
         <x:complexType>
            <x:sequence maxOccurs="unbounded">
               <x:element name="resultRow" 
                  minOccurs="0">
                  <x:complexType>
                     <x:sequence>
                        <x:element />
                     </x:sequence>
                  </x:complexType>
               </x:element>
            </x:sequence>
         </x:complexType>
      </x:element>
 </x:schema>

attribute

 <x:schema   xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" xmlns:x="http://www.w3.org/2001/XMLSchema">
      <x:element name="resultRoot">
         <x:complexType>
            <x:sequence maxOccurs="unbounded">
               <x:element name="resultRow" 
                  minOccurs="0">
                  <x:complexType>
                     <x:sequence>
                        <x:attribute />
                     </x:sequence>
                  </x:complexType>
               </x:element>
            </x:sequence>
         </x:complexType>
      </x:element>
 </x:schema>