W3C home > Mailing lists > Public > www-webdav-dasl@w3.org > October to December 2006

Using property expansion and sets in criteria

From: Werner Donné <werner.donne@re.be>
Date: Sat, 18 Nov 2006 23:38:05 +0100
Message-ID: <455F8B4D.1010004@re.be>
To: www-webdav-dasl@w3.org

Hi,

Consider a question to a server like: "Which VCRs have the
activity x in the activity-set of their checked-in version?"
Two things would be necessary for this. First, where the
"prop" element is expected, a nested prop element should be
allowed as well; something reminiscent of the expand property
report. Second, there should an "in" operator for all those
properties which are in fact sets.

Here is a possible example of the above question:

<d:searchrequest xmlns:d="DAV:">
  <d:basicsearch>
    <d:select>
      <d:prop><d:displayname/></d:prop>
    </d:select>
    <d:from>
      <d:scope>
        <d:href>http://hostname/container1/</d:href>
        <d:depth>infinity</d:depth>
      </d:scope>
    </d:from>
    <d:where>
      <d:in> 
        <d:property name="checked-in">
          <d:property name="activity-set"/>
        </d:property>
        <d:literal>http://hostname/act/my_activity</d:literal>
      </d:in>
    </d:where>
  </d:basicsearch>
</d:searchrequest>

Regards,

Werner.
-- 
Werner Donné  --  Re
Engelbeekstraat 8
B-3300 Tienen
tel: (+32) 486 425803	e-mail: werner.donne@re.be
Received on Saturday, 18 November 2006 22:37:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 22 March 2009 03:38:10 GMT