DASL Protocol (rev 00)

April 1, 1998

Saveen Reddy

Introduction

Relationship to HTTP and DAV

The Basic Client-Server Interaction

The SEARCH Method

The Request-URI as Search Arbiter

The Response : PROPFIND

Example: the basic form

The searchrequest XML Elements

Search Grammar Discovery : OPTIONS

OPTIONS Request Example

OPTIONS Response Example

The dav:simplesearch grammar

Example

This query will recursively retrieve the content length values for all resources located under the server's "/container1/" URI namespace whose length exceeds 10000.

<d:searchrequest>
        <d:select> <d:props> <d:getcontentlength/></d:props>
        </d:select>
        <d:from>
              <d:scopelist> <d:scope> <d:uri>/container1/</d:uri>
                  <d:depth>infinite</d:depth> </d:scope> </d:scopelist>
        </d:from>
        <d:where> <d:expr> <d:term> <d:gt>
                  <d:value>         <d:prop><d:getcontentlength/></d:prop>
                  </d:value>
                  <d:value><d:literal>10000</d:literal></d:value>
                  </d:gt> </d:term> </d:expr>
        </d:where>
</d:searchrequest>


       

low-fat Example

This query will recursively retrieve the content length values for all resources located under the server's "/container1/" URI namespace whose length exceeds 10000.

<d:searchrequest>
        <d:select> <d:props> <d:getcontentlength/></d:props>
        </d:select>
        <d:from>
              <d:scope> <d:uri>/container1/</d:uri>
              <d:depth>infinite</d:depth> </d:scope>
        </d:from>
        <d:where> <d:gt>

                    <d:prop><d:getcontentlength/></d:prop>
                  <d:literal>10000</d:literal>
              </d:gt>
        </d:where>
</d:searchrequest>


       

The dav:select XML Element

The dav:from XML element

The where XML Element

Assertions for dav:term

dav:contains - contains an optional dav:prop and a dav:phrase

dav:lt, dav:lte, dav:gt, dav:gte

dav:eq , dav:neq

Each argument to an assertion is a dav:value: one of dav:prop or dav:literal

dav:contains example

another dav:contains example

Issues not covered