Dear all,
  In my slide store a file is stored. It contains text "anil kumar sharma 
shree". Now when i search using DASL query for the any phrase using <D:or> , it 
gives me result. But why <D:and> not gives the result. My Syntax it that.
   
  "<?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>" + "/slide/files" + "</D:href>" +
  "<D:depth>infinity</D:depth>" +
  "</D:scope>" +
  "</D:from>" +
  "<D:where>" +
  "<D:and>"+
  "<D:contains>vijay</D:contains>"+
  "<D:contains>kumar</D:contains>"+
  "<D:contains>shree</D:contains>" +
  "</D:and>" +
  "</D:where>" +
  "</D:basicsearch>" +
  "</D:searchrequest>";
   
  The above query does not gives me result, though it must give.
   
  Help plz.
   

                                
---------------------------------
 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

Reply via email to