I don't think there is any way to pass a document (qua document) as an external variable to a module. But you could pass a string that you parse in xquery using xdmp:unquote, thus creating an element that you could insert (or replace).

-Mike

On 06/15/2011 10:25 AM, Abhishek53 S wrote:

Hi All

I need to insert the file into Marklogic. I am bounded not to use the insert-content by xcc API library as it requires some other processing which is present in the xquery module. How do we transfer the file to Markloic. Please let me know the datatype of external variable in xquery module as well as in .Net application

Thanks & Regards
Abhishek Srivastav
Systems Engineer
Tata Consultancy Services
Cell:- +91-9883389968
Mailto: abhishek5...@tcs.com
Website: http://www.tcs.com <http://www.tcs.com/>
____________________________________________
Experience certainty.        IT Services
                       Business Solutions
                       Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you



_______________________________________________
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to