Vikas,

I would recommend that you read chapter 10 of the developers' guide, available at http://developer.marklogic.com/pubs/

-- Mike

VIKAS JAIN wrote:
Hi,

I am trying to build a small POC, where in I require to load and search the PDF documents. All the examples and tutorials talk about loading and searching XML documents.

I have been able to load the PDF document on lines of XML but when it comes to search nothing is being returned.
I am using the code below to search a text in PDF document.
xdmp:set-response-content-type("text/html"),
   <ul>
   {
     for $i in cts:search(input(), cts:word-query("Altova"))
     return
       <li> {$i} </li>
   }
   </ul>

Request you to provide some examples that work with PDF’s or other formats in Mark Logic server.

Thanks for help in advance.

Regards
Vikas

_________________________________________________________________
Marriage Simplified. Match chat marry. http://ss1.richmedia.in/recurl.asp?pid=23

_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to