Re: [MarkLogic Dev General] General Digest, Vol 151, Issue 20

2017-01-10 Thread Matthew Royal
sole use > of the intended recipient(s) and may contain confidential , proprietary or > privileged information. If you are not the intended recipient, please > contact the sender by reply e-mail a

[MarkLogic Dev General] MarkLogic 9.0 release

2017-01-10 Thread Shiv Shankar
Hi, Any updates on MarkLogic 9.0 GA? Thanks Shan. ___ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general

Re: [MarkLogic Dev General] Query: List all the documents in a collection

2017-01-10 Thread Vitaly Korolev
I'm not sure I completely understand this issue, but you should be able to get all documents in a collection with /v1/search endpoint with collection parameter. https://docs.marklogic.com/REST/GET/v1/search Vitaly Korolev Staff QA Engineer MarkLogic Corporation On Jan 9, 2017, at 14:29,

Re: [MarkLogic Dev General] XML to JSON

2017-01-10 Thread David Lee
Preprocess your XML so that the part you want left as a String in JSON is really string not XML. JSON doesn't know XML so cant just embed it in JSON without encoding it properly. use xdmp:quote() to turn an xml node into a string. ex: (simplified) let $html-part := cell let $to-transform :=

Re: [MarkLogic Dev General] running java-client-api in OSGI

2017-01-10 Thread Varttinen Robert
Koen, It is possible to run the Java Client API as a separate bundle. However, I think it is better to handcraft the bundle itself, as it proved to be quite easy. Further, you have several options when it comes to managing it's dependencies; either have all the dependencies bundled (pun not