Hi Sachin, I think you should use the import command (rather than copy, which is intended for copying between ML databases).
So, your command should read: mlcp.bat import -host localhost -port 4373 -username sachin -password sachin -input_file_path C:\Users\SHARMAS7\Desktop\documents\xquery -transform_module /example/mlcp-transform.xqy -transform_namespace " http://marklogic.com/example" -transform_param "my-value" (I removed the -mode local because I think that's the default when importing). cheers, Jakob. On Thu, Jul 2, 2015 at 12:33 PM, Sachin Sharma <[email protected]> wrote: > Hello I am trying to apply ml content pump ingestion(using function to > transform xml documents) on my local ml (windows) using mlcp > tutorials.Following is linux command for ingestion (From mlcp tutorials) > > mlcp.sh copy -mode local -host localhost -port 4373 -username sachin > -password sachin -input_file_path /users/sachin/ -transform_module > /example/mlcp-transform.xqy -transform_namespace " > http://marklogic.com/example" -transform_param "my-value" > > Following is equivalent for above linux commands on windows > > mlcp.bat copy -mode local -host localhost -port 4373 -username sachin > -password sachin -input_file_path > C:\Users\SHARMAS7\Desktop\documents\xquery -transform_module > /example/mlcp-transform.xqy -transform_namespace " > http://marklogic.com/example" -transform_param "my-value" > > When above windows commands is being executed it is giveing error "Error > Parsing Option Invalid option -host" > > So can someone into windows commands and correct it.Any help is > appreciated. > > Thanks > Sachin Sharma > > _______________________________________________ > 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
