[MarkLogic Dev General] Examples for loading and searching PDF

VIKAS JAIN vks_jain at hotmail.com
Wed May 2 00:38:22 PDT 2007


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



More information about the General mailing list