You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by aslam bari <ia...@yahoo.co.in> on 2006/08/14 05:44:18 UTC

DASL Query

Dear All,
  Can anybody tell me how to get document hits by using DASL query.
   
  <?xml version=\"1.0\" encoding=\"utf-8\" ?>\n" +
  "<D:searchrequest xmlns:D =\"DAV:\" xmlns:S=\"http://jakarta.apache.org/slide/\">" +
  "<D:basicsearch>" +
  "<D:select>" +
  "<D:prop>" +
  "<D:getcontentlength/>" +
  "<D:displayname/>" +
  "<D:author/>" +
  "</D:prop>" +
  "</D:select>" +
  "<D:from>" +
  "<D:scope>" +
  "<D:href>"+scope+"</D:href>"+
  "<D:depth>infinity</D:depth>" +
  "</D:scope>" +
  "</D:from>" +
  "<D:where>" +
  //Content Based Search
  "<D:contains>"+query+"</D:contains>"+
  "</D:where>" +
  "</D:basicsearch>" +
  "</D:searchrequest>";
   
   
  Thanks in Advance.

 				
---------------------------------
 Here's a new way to find what you're looking for - Yahoo! Answers 
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW