[MarkLogic Dev General] Reading file data from a shared path in XQY
dlee at epocrates.com
Mon Sep 19 08:46:53 PDT 2011
This will depend on if your MarkLogic server has access to the file ...
The xdmp:document-load() could be used to access the file if you can construct a URL for it (likely a file:// scheme url)
Exactly how to do that and if it will work depends on your OS and IT structure.
David A. Lee
Senior Principal Software Engineer
dlee at epocrates.com<mailto:dlee at epocrates.com>
From: general-bounces at developer.marklogic.com [mailto:general-bounces at developer.marklogic.com] On Behalf Of Singh, Gurbeer
Sent: Friday, September 16, 2011 11:40 AM
To: general at developer.marklogic.com
Subject: [MarkLogic Dev General] Reading file data from a shared path in XQY
I need a help from Developer team, will appreciate any feedback.
We have a Content management Application, where we are using Mark logic 4.2
Here front end is ASP.NET and for backend we are using ML, We have written a service, ASHX service which takes the request from asp.ner application and calls a xqy to dump the file into ML, then pipeline code comes into picture to convert into XML or XHTML.
I have no issue with pipeline code, they convert it on the fly, no performance issue.
But while calling this service we are creating a stream object which will write the file data into byte and post the data in http-web-request object, where it is hitting performance.
It takes some sec for doing this operations,
I want to know if I will send the path of the file to XQY and ML code will read the file and then will call the pipeline code, is this possible reading file from a shared path in XQY.
Let me know if you want any more information.
NOTICE: Morgan Stanley is not acting as a municipal advisor and the opinions or views contained herein are not intended to be, and do not constitute, advice within the meaning of Section 975 of the Dodd-Frank Wall Street Reform and Consumer Protection Act. If you have received this communication in error, please destroy all electronic and paper copies and notify the sender immediately. Mistransmission is not intended to waive confidentiality or privilege. Morgan Stanley reserves the right, to the extent permitted under applicable law, to monitor electronic communications. This message is subject to terms available at the following link: http://www.morganstanley.com/disclaimers. If you cannot access these links, please notify us by reply message and we will send the contents to you. By messaging with Morgan Stanley you consent to the foregoing.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the General