[英]marklogic 6 - How to load the xml document from share path location to marklogic DB
I have tried the below mentioned Xquery for load the XML file from local system to MarkLogic database: 我已经尝试了下面提到的Xquery将XML文件从本地系统加载到MarkLogic数据库:
xdmp:document-load("D:/scrape/100065.xml",
<options xmlns="xdmp:document-load">
<uri>/April/12/100065.xml</uri>
<encoding>auto</encoding>
</options>)
How to provide the share path location instead of local system path? 如何提供共享路径位置而不是本地系统路径?
Two things to note: 有两件事要注意:
XQuery: XQuery的:
xdmp:document-load("D:\scrape\100065.xml",
<options xmlns="xdmp:document-load">
<uri>/April/12/100065.xml</uri>
<encoding>auto</encoding>
</options>
)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.