Re: [MarkLogic Dev General] how to integrate java in xquery

2010-02-10 Thread Jason Hunter
To call XQuery from Java you use the normal XCC libraries. http://developer.marklogic.com/download/ http://developer.marklogic.com/pubs/4.1/javadoc/index.html To call Java from XQuery you can use MLJAM. http://developer.marklogic.com/howto/tutorials/2006-05-mljam.xqy -jh- On Feb 10, 2010, at 10:

Re: [MarkLogic Dev General] how to integrate java in xquery

2010-02-10 Thread dhivya vijayakumar
hi Srini, Please refer the XDBC-server. you need XCC.jar to integrate jave with marklogic. with regards, Dhivya.v On Thu, Feb 11, 2010 at 12:11 PM, SrinivasanM wrote: > Hi, > > > > Is it possible to call java in Xquery, I planned to integrate my java code > to xquery, but I don’t know to how t

[MarkLogic Dev General] how to integrate java in xquery

2010-02-10 Thread SrinivasanM
Hi, Is it possible to call java in Xquery, I planned to integrate my java code to xquery, but I don't know to how to integrate it. Thanks in advance. Shri ___ General mailing list General@developer.marklogic.com http://xqzon

RE: [MarkLogic Dev General] element-value-query with wildcards

2010-02-10 Thread Danny Sokolsky
The other avenue you can explore is using a range query (cts:element-range-query and cts:element-attribute-range-query). These require range indexes on the supplied element or attribute, and they match according to collation order (for strings). You might be able to get the semantics you are

Re: [MarkLogic Dev General] 2 column Pdf to Xml conversion

2010-02-10 Thread Mary Holstege
On Wed, 10 Feb 2010 07:36:32 -0800, aniruddha biswas wrote: I am getting the xml. But it cannot retain the column position of data. Do you have any idea regarding this? PFA the PDFtoXHTML.cfg file what is being used in this query. The Docbook conversion will work a lot better if you appl

RE: [MarkLogic Dev General] 2 column Pdf to Xml conversion

2010-02-10 Thread Geert Josten
Hi Aniruddha, You might be interested in the Default conversion option that comes with the Content Processing Framework. It supports PDF to xml conversion in several flavours amongst which a few that try to preserve Page Layout information. The PDF conversion in the Default conversion option al

[MarkLogic Dev General] 2 column Pdf to Xml conversion

2010-02-10 Thread aniruddha biswas
Hi All, I am a new developer to Mark Logic. I need your help regarding the following: I have a 2-column pdf. I have already ingested this pdf into Mark Logic. I need to make a docbook xml from this pdf. I am using the following query for this conversion: xquery version '0.9-ml' imp

[MarkLogic Dev General] re: library search

2010-02-10 Thread Runstein, Robert E. (Contr) (IS)
Include an additional collection query within your search options rather than a constraint. Collection lexicon not needed. {cts:collection-query("specific_collection_name")} Bob Hi, I am trying to search a value in the specfi

[MarkLogic Dev General] Re: General Digest, Vol 68, Issue 19

2010-02-10 Thread Arpitha Chittumalla
Hi Andrew, Thank you for suggestion. Your solution working fine. the same options set i used for resolve-nodes(), where the collection condition not effecting. I can go for search:search() function, but here the outpur i ---> search:resolve-nodes(search:parse("",$options)) >

RE: [MarkLogic Dev General] element-value-query with wildcards

2010-02-10 Thread Dominic Beesley
Thanks to everyone who has replied, I can't believe I missed that last paragraph in the documentation. I'll have a play with doing a word search instead of a value search as well. Though I would like the items to be in the right order... I could always filter the results afterwards. We're s

Re: [MarkLogic Dev General] Facing issue with facet- range contrain

2010-02-10 Thread Andrew Welch
>> return search:search("Book1 facet-on-favorite: 1960s", $options) >> >> >> >> In this content we have used to form the range constraint and used >> the same as facet. The problem is when we search for the string “Book1” and >> the facet as 1960s the whole document is listed in the search respons

Re: [MarkLogic Dev General] library search

2010-02-10 Thread Andrew Welch
Hi, Do you have the collection lexicon enabled for that database? An alternative approach which doesn't require that is to use: fn:collection('/source/Sciences') cheers andrew On 10 February 2010 07:55, Arpitha Chittumalla wrote: > Hi, > I am trying to search a value in the specfic collectio