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

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"/>
</D:where>

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