Additions:
You also need the latest "XCC" connector .jar file file from [[http://developer.marklogic.com/products/xcc/6.0 XCC for MarkLogic]] (the Java XCC Distribution). The current version of the MarkLogic extension was built using the file "marklogic-xcc-6.0.1.jar".
Deletions:
Additions:
The current ""MarkLogic"" extension (1.20) requires xmlsh version 1.2.4 or greater.
Deletions:
Additions:
You also need the latest "XCC" connector .jar file file from [[http://developer.marklogic.com/products/xcc/6.0 XCC for MarkLogic]] (the Java XCC Distribution). The current version of the MarkLogic extension was built using the file "marklogic-xcc-5.0.1.jar".
Copy the files (marklogic_ext.jar, marklogic-xcc*.jar, module.xml) to a directory named "marklogic" as a sub-directory of any path in the XMODPATH directory.
Copy the files (marklogic_ext.jar, marklogic-xcc*.jar, module.xml) to a directory named "marklogic" as a sub-directory of any path in the XMODPATH directory.
Deletions:
Copy the files (marklogic_ext.jar, marklogic-xcc-5.0.1.jar, module.xml) to a directory named "marklogic" as a sub-directory of any path in the XMODPATH directory.
Additions:
You also need the latest "XCC" connector .jar file file from [[http://developer.marklogic.com/products/xcc/5.0 XCC for MarkLogic]] (the Java XCC Distribution). The current version of the MarkLogic extension was built using the file "marklogic-xcc-5.0.1.jar".
The current ""MarkLogic"" extension (1.15) requires xmlsh version 1.1.8 or greater.
Copy the files (marklogic_ext.jar, marklogic-xcc-5.0.1.jar, module.xml) to a directory named "marklogic" as a sub-directory of any path in the XMODPATH directory.
The current ""MarkLogic"" extension (1.15) requires xmlsh version 1.1.8 or greater.
Copy the files (marklogic_ext.jar, marklogic-xcc-5.0.1.jar, module.xml) to a directory named "marklogic" as a sub-directory of any path in the XMODPATH directory.
Deletions:
The current ""MarkLogic"" extension (1.14) requires xmlsh version 1.1.7 or greater.
Copy the files (marklogic_ext.jar, marklogic-xcc-4.2.6.jar, module.xml) to a directory named "marklogic" as a sub-directory of any path in the XMODPATH directory.
Additions:
You also need the latest "XCC" connector .jar file file from [[http://developer.marklogic.com/products/xcc/4.2 MarkLogic Developer Page]] (the Java XCC Distribution). The current version of the MarkLogic extension was built using the file "marklogic-xcc-4.2.6.jar".
Copy the files (marklogic_ext.jar, marklogic-xcc-4.2.6.jar, module.xml) to a directory named "marklogic" as a sub-directory of any path in the XMODPATH directory.
If you are using a different version of the marklogic XCC jar then you can edit module.xml to reflect the actual file used.
Copy the files (marklogic_ext.jar, marklogic-xcc-4.2.6.jar, module.xml) to a directory named "marklogic" as a sub-directory of any path in the XMODPATH directory.
If you are using a different version of the marklogic XCC jar then you can edit module.xml to reflect the actual file used.
Deletions:
Copy the files (marklogic_ext.jar, xcc.jar, module.xml) to a directory named "marklogic" as a sub-directory of any path in the XMODPATH directory.
Then import the module using the "import module" command
Additions:
||[[MarkLogicMoveForest move-forest]]||Move a document from one forest to another||
Additions:
The current ""MarkLogic"" extension (1.14) requires xmlsh version 1.1.7 or greater.
Deletions:
Additions:
||[[MarkLogicListCollections list-collections]]||List all collection URI's||
Additions:
The current ""MarkLogic"" extension (1.13) requires xmlsh version 1.1.6 or greater.
Deletions:
Additions:
You also need the "xcc.jar" file from [[http://developer.marklogic.com/download/ MarkLogic Developer Page]] (the Java XCC Distribution)
The current ""MarkLogic"" extension (1.12) requires xmlsh version 1.1.5 or greater.
The current ""MarkLogic"" extension (1.12) requires xmlsh version 1.1.5 or greater.
Deletions:
The current MarkLogic extension (1.12) requires xmlsh version 1.1.5 or greater.
Additions:
The current MarkLogic extension (1.12) requires xmlsh version 1.1.5 or greater.
Deletions:
Additions:
The current MarkLogic extension (1.11) requires xmlsh version 1.1.5 or greater.
Deletions:
Additions:
The current MarkLogic extension (1.10) requires xmlsh version 1.1.2 or greater.
Deletions:
Additions:
=====SSL / xccs=====
Starting with version 1.10 (2010-12-25) the ""MarkLogic"" extension module supports SSL connections to 4.1 or later servers. SSL is enabled by using the "xccs://" scheme (instead of "xcc://").
Currently only SSL Encryption, not Client and server certificate chain validation is supported.
Starting with version 1.10 (2010-12-25) the ""MarkLogic"" extension module supports SSL connections to 4.1 or later servers. SSL is enabled by using the "xccs://" scheme (instead of "xcc://").
Currently only SSL Encryption, not Client and server certificate chain validation is supported.
Additions:
The current MarkLogic extension (1.6) requires xmlsh version 1.1.0 or greater.
Deletions:
Additions:
The current MarkLogic extension requires xmlsh version 1.0.6 or greater.
Deletions:
Additions:
||[[MarkLogicDirexists direxists]]||Tests whether a directory exists||
||[[MarkLogicExists exists]]||Tests whether a document exists||
||[[MarkLogicExists exists]]||Tests whether a document exists||
Additions:
||[[MarkLogicSetPermissions set-permissions]]||Set document permissions||
Additions:
||[[MarkLogicGetPermissions get-permissions]]||List document permissions||
Additions:
||[[MarkLogicRename rename]]||Renames (moves) a document||
Deletions:
No Differences
Additions:
Dowload the latest binary from [[http://sourceforge.net/projects/xmlsh/files/ xmlsh files]]
Choose the "marklogic_ext" folder and download the latest release.
Choose the "marklogic_ext" folder and download the latest release.
Deletions:
Additions:
The current MarkLogic extension requires xmlsh version 1.0.2 or greater.
Deletions:
Additions:
||[[MarkLogicInvoke invoke]]||Invokes a remotely stored query||
||[[MarkLogicPut put]]||Puts one or more files to the server||
||[[MarkLogicQuery query]]||Invokes an ad-hoc query||
||[[MarkLogicDel del]]||Deletes documents||
||[[MarkLogicDeldir deldir]]||Deletes directories||
||[[MarkLogicCreatedir createdir]]||Creates directories||
||[[MarkLogicGet get]]||Gets documents from the server||
||[[MarkLogicList list]]||Lists documents||
||[[MarkLogicListdir listdir]]||Lists directories||
||[[MarkLogic rename]]||Renames (moves) a document||
||[[MarkLogicPut put]]||Puts one or more files to the server||
||[[MarkLogicQuery query]]||Invokes an ad-hoc query||
||[[MarkLogicDel del]]||Deletes documents||
||[[MarkLogicDeldir deldir]]||Deletes directories||
||[[MarkLogicCreatedir createdir]]||Creates directories||
||[[MarkLogicGet get]]||Gets documents from the server||
||[[MarkLogicList list]]||Lists documents||
||[[MarkLogicListdir listdir]]||Lists directories||
||[[MarkLogic rename]]||Renames (moves) a document||
Deletions:
- [[MarkLogicPut put]]
- [[MarkLogicQuery query]]
- [[MarkLogicDel del]]
- [[MarkLogicDeldir deldir]]
- [[MarkLogicCreatedir createdir]]
- [[MarkLogicGet get]]
- [[MarkLogicList list]]
- [[MarkLogicListdir listdir]]
- [[MarkLogic rename]]
Additions:
- [[MarkLogicCreatedir createdir]]
Additions:
====Dependancies====
The current MarkLogic extension requires xmlsh version 1.0.0.1 or greater.
The current MarkLogic extension requires xmlsh version 1.0.0.1 or greater.
Additions:
- [[MarkLogicList list]]
- [[MarkLogicListdir listdir]]
- [[MarkLogicListdir listdir]]
Deletions:
Additions:
- [[MarkLogicDeldir deldir]]
Additions:
$ MLCONNECT=xcc://me:password@server:8003/Test
Deletions:
Additions:
- [[MarkLogic rename]]
Additions:
$ MLCONNECT=xcc:""//""me:password@server:8003/Test
Deletions:
Additions:
Import the marklogic extension in xmlsh with an "import module" statement.
The module can be found using the XMODPATH variable or explicitly by specifying the module.xml file
Copy the files (marklogic_ext.jar, xcc.jar, module.xml) to a directory named "marklogic" as a sub-directory of any path in the XMODPATH directory.
Then import the module using the "import module" command
Assuming you put the marklogic files in the directory /usr/local/xmlsh/ext/marklogic
XMODPATH=/usr/local/xmlsh/ext
import module ml=marklogic
%%
ml:query -c xcc://me:password@server:8003/Test -q "'Hello World'"
The module can be found using the XMODPATH variable or explicitly by specifying the module.xml file
Copy the files (marklogic_ext.jar, xcc.jar, module.xml) to a directory named "marklogic" as a sub-directory of any path in the XMODPATH directory.
Then import the module using the "import module" command
Assuming you put the marklogic files in the directory /usr/local/xmlsh/ext/marklogic
XMODPATH=/usr/local/xmlsh/ext
import module ml=marklogic
%%
ml:query -c xcc://me:password@server:8003/Test -q "'Hello World'"
Deletions:
Place marklogic_ext.jar and xcc.jar in a known directory and edit the CLASSPATH used for launching xmlsh.
This can be done by editing the win32\xmlsh.bat or unix/xmlsh startup scripts or whatever command is used to launch xmlsh.
Windows example, assuming marklogic.jar and xcc.jar are placed in the same directory as xmlsh.jar (%XMLSH%\lib) edit win32\xmlsh.bat and add before the java command
@set CLASSPATH=%CLASSPATH%;%XMLSH%\lib\marklogic_ext.jar
@set CLASSPATH=%CLASSPATH%;%XMLSH%\lib\xcc.jar
Now you can startup xmlsh but you must import the extension module in order to use it.
Its recommended that you use a prefix for the import. The marklogic package is org.xmlsh.marklogic. To import the module using the "ml" prefix do the following.
$ import module ml=org.xmlsh.marklogic
$ ml:query -c xcc://me:password@server:8003/Test -q "'Hello World'"
Additions:
Dowload the latest binary from [[https://sourceforge.net/project/showfiles.php?group_id=228358&package_id=300026 marklogic_ext package]]
Deletions:
Additions:
Mark Logic extension module is on sourceforge in the marklogic_ext package under xmlsh.
Place marklogic_ext.jar and xcc.jar in a known directory and edit the CLASSPATH used for launching xmlsh.
@set CLASSPATH=%CLASSPATH%;%XMLSH%\lib\marklogic_ext.jar
Place marklogic_ext.jar and xcc.jar in a known directory and edit the CLASSPATH used for launching xmlsh.
@set CLASSPATH=%CLASSPATH%;%XMLSH%\lib\marklogic_ext.jar
Deletions:
Place marklogic.jar and xcc.jar in a known directory and edit the CLASSPATH used for launching xmlsh.
@set CLASSPATH=%CLASSPATH%;%XMLSH%\lib\marklogic.jar
Additions:
To run Mark Logic commands you need to configure the connection information to access your Mark Logic server. All the Mark Logic commands require an environment variable, MLCONNECT to specify the connection. The format is the URI used by the XCC API.
Note: the Port is the port number of an XDBC "Host" defined on the Mark Logic server.
Note: the Port is the port number of an XDBC "Host" defined on the Mark Logic server.
Deletions:
Additions:
Instead of using an environment variable, you can also pass in the connection URI as a command argument using -c or -connect
%%
$ ml:query -c xcc://me:password@server:8003/Test -q "'Hello World'"
%%
$ ml:query -c xcc://me:password@server:8003/Test -q "'Hello World'"
Additions:
----
[[Modules Extension Modules]]
[[Modules Extension Modules]]
Additions:
""xcc://user:password@host:port/Database""
Deletions:
Additions:
""xcc://user:password@host:port/Datbase""
Deletions:
Additions:
Mark Logic support is via an [[Modules Extension Module]]. It must be downloaded separately from xmlsh and added to the classpath in order to run.
Deletions:
Deletions:
-
-
-
Additions:
=====Configuring =====
To run Mark Logic commands you need to configure your server. All the Mark Logic commands require an environment variable, MLCONNECT to specify the connection. The format is the URI used by the XCC API.
xcc://user:password@host:port/Datase
Example
$ MLCONNECT=xcc://me:password@server:8003/Test
=====Running=====
Your now ready to run Mark Logic commands from within xmlsh.
The following commands are supported
- [[MarkLogicInvoke invoke]]
- [[MarkLogicPut put]]
- [[MarkLogicQuery query]]
- [[MarkLogicDel del]]
- [[MarkLogicGet get]]
- [[MarkLogic list]]
-
-
-
-
To run Mark Logic commands you need to configure your server. All the Mark Logic commands require an environment variable, MLCONNECT to specify the connection. The format is the URI used by the XCC API.
xcc://user:password@host:port/Datase
Example
$ MLCONNECT=xcc://me:password@server:8003/Test
=====Running=====
Your now ready to run Mark Logic commands from within xmlsh.
The following commands are supported
- [[MarkLogicInvoke invoke]]
- [[MarkLogicPut put]]
- [[MarkLogicQuery query]]
- [[MarkLogicDel del]]
- [[MarkLogicGet get]]
- [[MarkLogic list]]
-
-
-
-
Additions:
Mark Logic support is via an [[ExtensionModule Extension Module]]. It must be downloaded separately from xmlsh and added to the classpath in order to run.
=====Importing=====
Now you can startup xmlsh but you must import the extension module in order to use it.
Its recommended that you use a prefix for the import. The marklogic package is org.xmlsh.marklogic. To import the module using the "ml" prefix do the following.
$ import module ml=org.xmlsh.marklogic
=====Importing=====
Now you can startup xmlsh but you must import the extension module in order to use it.
Its recommended that you use a prefix for the import. The marklogic package is org.xmlsh.marklogic. To import the module using the "ml" prefix do the following.
$ import module ml=org.xmlsh.marklogic
Deletions:
Additions:
This can be done by editing the win32\xmlsh.bat or unix/xmlsh startup scripts or whatever command is used to launch xmlsh.
Windows example, assuming marklogic.jar and xcc.jar are placed in the same directory as xmlsh.jar (%XMLSH%\lib) edit win32\xmlsh.bat and add before the java command
%%
@set CLASSPATH=%CLASSPATH%;%XMLSH%\lib\marklogic.jar
@set CLASSPATH=%CLASSPATH%;%XMLSH%\lib\xcc.jar
%%
Windows example, assuming marklogic.jar and xcc.jar are placed in the same directory as xmlsh.jar (%XMLSH%\lib) edit win32\xmlsh.bat and add before the java command
%%
@set CLASSPATH=%CLASSPATH%;%XMLSH%\lib\marklogic.jar
@set CLASSPATH=%CLASSPATH%;%XMLSH%\lib\xcc.jar
%%
Deletions:
Additions:
You also need the "xcc.jar" file from [[http://developer.marklogic.com/download/ Mark Logic Developer Page]] (the Java XCC Distribution)
Place marklogic.jar and xcc.jar in a known directory and edit the CLASSPATH used for launching xmlsh.
This can be done by setting the CLASSPATH environment variable prior to calling xmlsh, or by editing the win32\xmlsh.bat or unix/xmlsh startup scripts.
Place marklogic.jar and xcc.jar in a known directory and edit the CLASSPATH used for launching xmlsh.
This can be done by setting the CLASSPATH environment variable prior to calling xmlsh, or by editing the win32\xmlsh.bat or unix/xmlsh startup scripts.
Deletions:
To add the mark logic commands to xmlsh, you must the marklogic.jar file as well as
Additions:
Mark Logic support is via an [[ExtensionModule Extension Module]]. It must be downloaded separately from xmlsh and added to the classpath in order to run.
=====Download=====
Mark Logic extension module is on sourceforge in the marklogic package under xmlsh.
Dowload the latest binary from [[https://sourceforge.net/project/showfiles.php?group_id=228358&package_id=300026 marklogic package]]
You also need the "xcc.jar" file from [[http://developer.marklogic.com/download/ Mark Logic Developer Page]]
=====Installation=====
To add the mark logic commands to xmlsh, you must the marklogic.jar file as well as
=====Download=====
Mark Logic extension module is on sourceforge in the marklogic package under xmlsh.
Dowload the latest binary from [[https://sourceforge.net/project/showfiles.php?group_id=228358&package_id=300026 marklogic package]]
You also need the "xcc.jar" file from [[http://developer.marklogic.com/download/ Mark Logic Developer Page]]
=====Installation=====
To add the mark logic commands to xmlsh, you must the marklogic.jar file as well as
Deletions:
Download the marklogic package from sourceforge. See the README.txt file for setup instructions.
Additions:
======Mark Logic Module======
Connectivity to a [[http://www.marklogic.com Mark Logic]] server is supported with an extension module.
Connectivity to a [[http://www.marklogic.com Mark Logic]] server is supported with an extension module.
Deletions:
Connectivity to a MarkLogic server is supported with an extension module.