Hi Geert,
Thanks for response.
The details are given below.
Version
##################################
MLCP -- mlcp-1.3-3
ML -- 7.0-3
##################################
COMMAND
##################################
mlcp.bat export -conf conf.xml -host localhost -port 10002 -username admin
-password admin ^
-mode local ^
-collection_filter "export" ^
-output_file_path "D:\data"
##################################
conf.xml
##################################
<configuration>
<property>
<name>normalization</name>
<value><![CDATA[
xquery version "1.0-ml";
xdmp:log("some test")
]]></value>
</property>
</configuration>
Thanks and Regards,
Arvind Kr.
On Thu, Jul 7, 2016 at 7:19 PM, Geert Josten <[email protected]>
wrote:
> Hi Arvind,
>
> Can you provide some more details about which version of MLCP and
> MarkLogic? And also more details about the command-line that you used?
>
> Kind regards,
> Geert
>
> From: <[email protected]> on behalf of Arvind Kumar
> <[email protected]>
> Reply-To: MarkLogic Developer Discussion <[email protected]>
> Date: Thursday, July 7, 2016 at 2:44 PM
> To: MarkLogic Developer Discussion <[email protected]>
> Subject: [MarkLogic Dev General] Export and MLCP
>
> Hi All,
>
> I am using MLCP to export content from specific collection in ML database.
> While exporting i need to transform the document in required output
> structure.
> Their is conf.xml file where we can store xquery which i expect that it
> will execute during export.
>
> for example i used simple query to log some text value in log file to
> test the xquery.
>
> <configuration>
> <property>
> <name>normalization</name>
> <value><![CDATA[
> xquery version "1.0-ml";
> xdmp:log("hello word")
>
> ]]></value>
> </property>
> </configuration>
>
> But I didn't found any result in log file error.txt.
>
> Is there anything going wrong in configuration file or I need to followed
> different approach.
> Please suggest.
>
> Thanks and Regards,
> Arvind Kr.
>
>
>
>
> _______________________________________________
> General mailing list
> [email protected]
> Manage your subscription at:
> http://developer.marklogic.com/mailman/listinfo/general
>
>
_______________________________________________
General mailing list
[email protected]
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general