Re: How to use IS-Collection

Julian Reschke <[email protected]>
Newsgroups gmane.comp.jakarta.slide.user
Message-ID <[email protected]>
Aslam Bari schrieb:
> Dear all,
> I am using DASL query search. How can i restrict that results must contains
> only files not collections. In <where> clasuse i have another contions too.
> 
> <D:where>
>             
> <S:propcontains><D:prop><D:displayname/></D:prop></D:propcontains>
> </D:where>
> 
> The results must contains display names of only files not collections's.
> 
> Thanks...

This

	<D:not><D:is-collection/></D:not>

should work.

See 
<http://greenbytes.de/tech/webdav/draft-reschke-webdav-search-latest.html#OPERATOR_is-collection>.

Best regards, Julian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.