W3C home > Mailing lists > Public > www-webdav-dasl@w3.org > April to June 2004

Re: xpath/xquery (was SEARCH draft 06 submitted)

From: Julian Reschke <julian.reschke@gmx.de>
Date: Mon, 26 Apr 2004 08:51:54 +0200
Message-ID: <408CB18A.4000103@gmx.de>
To: Eric Hanson <eric@aquameta.com>
Cc: FengAndy@aol.com, www-webdav-dasl@w3.org

Eric Hanson wrote:
> This is interesting.
> While including xpath in the SEARCH request seems straight
> forward, how would one map the results of the xpath to a
> PROPFIND response?

The simplest approach would be to adopt most of DAV:basicsearch and just 
to add one specific XPath operator that operates on the infoset of the 
properties, such as:

<D:where xmlns="DAV:">
   <D:xpath test="D:resourcetype/D:collection"/>

to check for collections. The result would be the same as when using the 
DAV:is-collection operator.

> Also, are any of those experimental implementations publicly
> available?  Pointers would be appreciated.

Ours isn't (and isn't maintained anymore). But I think Slide-on-Tamino 
offers something sililar.

Regards, Julian

<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
Received on Monday, 26 April 2004 02:54:29 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:22:43 UTC