Wiki source for MarkLogicMoveForest
======Mark Logic Command: move-forest======
Rewrites a document into a new forest
====Synopsis====
move-forest[options] uri...
====Description====
For each URI this command will re-insert the document. If the forest it is currently contained in is marked as delete-only then the document will be moved to another forest,
otherwise it will be rewritten in place
====Example====
Assuming the prefix "ml" is imported as the marklogic module,moves /dir/file1 to /dir2/file2
%%
ml:move-forest /test/file.xml
%%
----
[[ModuleMarkLogic MarkLogic Extension Module]]
Rewrites a document into a new forest
====Synopsis====
move-forest[options] uri...
====Description====
For each URI this command will re-insert the document. If the forest it is currently contained in is marked as delete-only then the document will be moved to another forest,
otherwise it will be rewritten in place
====Example====
Assuming the prefix "ml" is imported as the marklogic module,moves /dir/file1 to /dir2/file2
%%
ml:move-forest /test/file.xml
%%
----
[[ModuleMarkLogic MarkLogic Extension Module]]