List Info

Thread: DASL Query




DASL Query
user name
2006-08-14 03:44:18
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
=\"DAV:\" xmlns:S=\"http://jakarta.apach
e.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>&q
uot;+
  "<D:depth>infinity</D:depth>" +
  "</D:scope>" +
  "</D:from>" +
  "<D:where>" +
  //Content Based Search
 
"<D:contains>"+query+"</D:contain
s>"+
  "</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
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )