Hi all, I am trying to write a DASL Search query to search for files on the server with a particular file extension. I am able to search for content like the example at http://wiki.apache.org/jakarta-slide/DASLSearch .
However, when I try to modify this query to find a file extension the query does not work. Here is one of the versions of the query: String path = webdavStorageAreaPath; String fileExtQuery = "<D:searchrequest xmlns:D =\"DAV:\">" + "<D:basicsearch>" + "<D:select>" + "<D:prop>" + "<D:getcontentlength/>" + "</D:prop>" + "</D:select>" + "<D:from>" + "<D:scope>" + "<D:href>" + path + "</D:href>" + "<D:depth>infinity</D:depth>" + "</D:scope>" + "</D:from>" + "<D:where>" + "<D:eq>" + "<D:prop>" + "<D:displayname/>" + "</D:prop>" + "<D:literal>" + "*.txt" + "</D:literal>" + "</D:eq>" + "</D:where>" + "</D:basicsearch>" + "</D:searchrequest>"; Does anyone know how to set up a query for all files with a certain extension? Also where is the documentation for what properties are available and how or can wildcards be used? Any help that you could provide would be greatly appreciated. Thanks, Tammy