Hi Nalini,

I am not too familiar with the internals of XCC, but my guess is that it uses 
chunked HTTP transfer to send data, so you shouldn't need to worry about the 
transfer itself.

If you would prefer retrieving your XML file in portions per request (instead 
of just chunking the transfer, not sure if you meant that), you could write a 
bit of Xquery that selects a configurable portion of your document to send 
back. You can use adhoc queries for that purpose. You could start with putting 
a simple xpath expression in it.

There are also command-line tools available that are designed for loading and 
retrieving data from MarkLogic Server, written in Java, you can find them in 
the developer workshop: http://developer.marklogic.com/code/. If you are not 
looking for a command-line tool, then they might be a source of inspiration to 
you..

Another tool worth mentioning is Xmlsh, http://www.xmlsh.org/HomePage, which 
also seems to be written in Java..

Kind regards,
Geert

>


drs. G.P.H. (Geert) Josten
Consultant


Daidalos BV
Hoekeindsehof 1-4
2665 JZ Bleiswijk

T +31 (0)10 850 1200
F +31 (0)10 850 1199

mailto:[email protected]
http://www.daidalos.nl/

KvK 27164984

P Please consider the environment before printing this mail.
De informatie - verzonden in of met dit e-mailbericht - is afkomstig van 
Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit 
bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit 
bericht kunnen geen rechten worden ontleend.

> From: [email protected]
> [mailto:[email protected]] On Behalf Of Nalini v
> Sent: donderdag 11 februari 2010 10:33
> To: General Mark Logic Developer Discussion
> Subject: [MarkLogic Dev General] chunk content
>
> Hi All,
>
> I am using marklogic as my databse In my Java application.
> I need to retrieve a file content in XML format. in fact  XML
> file size is like 6MB.
> how i need to recevie the content by chunks.
> Is their any method allowing to get content by chunks using
> XCC API or using Xquery methods.
>
>
> A heartfull  thanks to all.
>
>
>
>
>
>
>
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to