Batch Element

The Batch element is used for batch processing of commands within HTTP protocol.

Syntax

<Batch
  OnError = "Return" | "Continue">
  <Method>  
  </Method>
</Batch>

Attributes

Name Description
OnError Optional. The following values are possible:
  • Return  Stops execution of any more methods after the first error is encountered. Default.
  • Continue After an error is encountered, continues executing subsequent methods.
Child Elements
Method

Remarks

The Batch element must include the Method element.

While the Microsoft FrontPage DLL can post only one command at a time to the server, this element allows the client to post more than one at a time.

Example

The following example, if contained within HTTP protocol, would return a Documents list from the server.

<?xml version="1.0" encoding="UTF-8"?>
<ows:Batch OnError="Return">
  <Method ID="0,ExportList">
    <SetList Scope="Request">Documents</SetList>
    <SetVar Name="Cmd">ExportList</SetVar>
  </Method> 
</ows:Batch>