Revision [1906]

Last edited on 2013-09-30 15:22:20 by DavidLee
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:
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".


Revision [1905]

Edited on 2013-09-30 15:21:54 by DavidLee
Additions:
The current ""MarkLogic"" extension (1.20) requires xmlsh version 1.2.4 or greater.
Deletions:
The current ""MarkLogic"" extension (1.15) requires xmlsh version 1.1.8 or greater.


Revision [1901]

Edited on 2013-07-09 18:00:10 by DavidLee
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.
Deletions:
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".
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.


Revision [1802]

Edited on 2011-12-14 08:11:49 by DavidLee
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.
Deletions:
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".
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.


Revision [1787]

Edited on 2011-08-22 10:03:19 by DavidLee
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.
Deletions:
You also need the "xcc.jar" file from [[http://developer.marklogic.com/download/ MarkLogic Developer Page]] (the Java XCC Distribution)
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


Revision [1786]

Edited on 2011-08-13 06:18:43 by DavidLee
Additions:
||[[MarkLogicMoveForest move-forest]]||Move a document from one forest to another||


Revision [1783]

Edited on 2011-07-26 07:22:58 by DavidLee
Additions:
The current ""MarkLogic"" extension (1.14) requires xmlsh version 1.1.7 or greater.
Deletions:
The current ""MarkLogic"" extension (1.13) requires xmlsh version 1.1.6 or greater.


Revision [1780]

Edited on 2011-07-26 06:11:06 by DavidLee
Additions:
||[[MarkLogicListCollections list-collections]]||List all collection URI's||


Revision [1764]

Edited on 2011-06-10 05:01:36 by DavidLee
Additions:
The current ""MarkLogic"" extension (1.13) requires xmlsh version 1.1.6 or greater.
Deletions:
The current ""MarkLogic"" extension (1.12) requires xmlsh version 1.1.5 or greater.


Revision [1738]

Edited on 2011-06-02 08:34:14 by DavidLee
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.
Deletions:
You also need the "xcc.jar" file from [[http://developer.marklogic.com/download/ Mark Logic Developer Page]] (the Java XCC Distribution)
The current MarkLogic extension (1.12) requires xmlsh version 1.1.5 or greater.


Revision [1737]

Edited on 2011-06-02 08:32:58 by DavidLee
Additions:
The current MarkLogic extension (1.12) requires xmlsh version 1.1.5 or greater.
Deletions:
The current MarkLogic extension (1.11) requires xmlsh version 1.1.5 or greater.


Revision [1705]

Edited on 2011-05-05 09:11:57 by DavidLee
Additions:
The current MarkLogic extension (1.11) requires xmlsh version 1.1.5 or greater.
Deletions:
The current MarkLogic extension (1.10) requires xmlsh version 1.1.2 or greater.


Revision [1657]

Edited on 2010-12-25 16:57:21 by DavidLee
Additions:
The current MarkLogic extension (1.10) requires xmlsh version 1.1.2 or greater.
Deletions:
The current MarkLogic extension (1.6) requires xmlsh version 1.1.0 or greater.


Revision [1656]

Edited on 2010-12-25 16:57:06 by DavidLee
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.


Revision [1583]

Edited on 2010-11-18 17:38:59 by DavidLee
Additions:
The current MarkLogic extension (1.6) requires xmlsh version 1.1.0 or greater.
Deletions:
The current MarkLogic extension requires xmlsh version 1.0.6 or greater.


Revision [1463]

Edited on 2010-06-11 06:33:06 by DavidLee
Additions:
The current MarkLogic extension requires xmlsh version 1.0.6 or greater.
Deletions:
The current MarkLogic extension requires xmlsh version 1.0.2 or greater.


Revision [1453]

Edited on 2010-06-04 12:14:19 by DavidLee
Additions:
||[[MarkLogicDirexists direxists]]||Tests whether a directory exists||
||[[MarkLogicExists exists]]||Tests whether a document exists||


Revision [1428]

Edited on 2010-05-19 17:05:54 by DavidLee
Additions:
||[[MarkLogicSetPermissions set-permissions]]||Set document permissions||


Revision [1419]

Edited on 2010-05-19 06:35:53 by DavidLee
Additions:
||[[MarkLogicGetPermissions get-permissions]]||List document permissions||


Revision [1282]

Edited on 2010-03-01 14:56:49 by DavidLee
Additions:
||[[MarkLogicRename rename]]||Renames (moves) a document||
Deletions:
||[[MarkLogic rename]]||Renames (moves) a document||


Revision [1281]

Edited on 2010-03-01 14:56:29 by DavidLee

No Differences

Revision [1271]

Edited on 2010-02-25 07:43:54 by DavidLee
Additions:
Dowload the latest binary from [[http://sourceforge.net/projects/xmlsh/files/ xmlsh files]]
Choose the "marklogic_ext" folder and download the latest release.
Deletions:
Dowload the latest binary from [[https://sourceforge.net/project/showfiles.php?group_id=228358&package_id=300026 marklogic_ext package]]


Revision [1270]

Edited on 2010-02-21 12:32:29 by DavidLee
Additions:
The current MarkLogic extension requires xmlsh version 1.0.2 or greater.
Deletions:
The current MarkLogic extension requires xmlsh version 1.0.0.1 or greater.


Revision [1268]

Edited on 2010-02-21 10:02:05 by DavidLee
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||
Deletions:
- [[MarkLogicInvoke invoke]]
- [[MarkLogicPut put]]
- [[MarkLogicQuery query]]
- [[MarkLogicDel del]]
- [[MarkLogicDeldir deldir]]
- [[MarkLogicCreatedir createdir]]
- [[MarkLogicGet get]]
- [[MarkLogicList list]]
- [[MarkLogicListdir listdir]]
- [[MarkLogic rename]]


Revision [1241]

Edited on 2010-02-17 12:02:17 by DavidLee
Additions:
- [[MarkLogicCreatedir createdir]]


Revision [1090]

Edited on 2009-12-03 10:35:28 by DavidLee
Additions:
====Dependancies====
The current MarkLogic extension requires xmlsh version 1.0.0.1 or greater.


Revision [969]

Edited on 2009-11-25 04:46:41 by DavidLee
Additions:
- [[MarkLogicList list]]
- [[MarkLogicListdir listdir]]
Deletions:
- [[MarkLogic list]]


Revision [965]

Edited on 2009-11-25 04:07:28 by DavidLee
Additions:
- [[MarkLogicDeldir deldir]]


Revision [847]

Edited on 2009-11-08 14:15:47 by DavidLee
Additions:
$ MLCONNECT=xcc://me:password@server:8003/Test
Deletions:
$ MLCONNECT=xcc:""//""me:password@server:8003/Test


Revision [846]

Edited on 2009-11-08 14:15:12 by DavidLee
Additions:
- [[MarkLogic rename]]


Revision [843]

Edited on 2009-11-07 09:35:15 by DavidLee
Additions:
$ MLCONNECT=xcc:""//""me:password@server:8003/Test
Deletions:
$ MLCONNECT=xcc://me:password@server:8003/Test


Revision [570]

Edited on 2009-05-27 09:41:38 by DavidLee
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'"
Deletions:
=====Installation=====
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'"


Revision [480]

Edited on 2009-04-20 17:32:48 by DavidLee
Additions:
Dowload the latest binary from [[https://sourceforge.net/project/showfiles.php?group_id=228358&package_id=300026 marklogic_ext package]]
Deletions:
Dowload the latest binary from [[https://sourceforge.net/project/showfiles.php?group_id=228358&package_id=300026 marklogic package]]


Revision [479]

Edited on 2009-04-20 17:32:36 by DavidLee [changed name of jar file]
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
Deletions:
Mark Logic extension module is on sourceforge in the marklogic package under xmlsh.
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


Revision [474]

Edited on 2009-04-10 16:41:07 by DavidLee [changed name of jar file]
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.
Deletions:
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.


Revision [473]

Edited on 2009-04-10 16:40:11 by DavidLee [changed name of jar file]
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'"


Revision [463]

Edited on 2009-04-10 16:14:19 by DavidLee [changed name of jar file]
Additions:
----
[[Modules Extension Modules]]


Revision [462]

Edited on 2009-04-10 16:12:49 by DavidLee [changed name of jar file]
Additions:
""xcc://user:password@host:port/Database""
Deletions:
""xcc://user:password@host:port/Datbase""


Revision [461]

Edited on 2009-04-10 16:12:35 by DavidLee [changed name of jar file]
Additions:
""xcc://user:password@host:port/Datbase""
Deletions:
xcc://user:password@host:port/Datase


Revision [460]

Edited on 2009-04-10 16:11:43 by DavidLee [changed name of jar file]
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:
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.


Revision [459]

Edited on 2009-04-10 16:06:57 by DavidLee [changed name of jar file]
Deletions:
-
-
-
-


Revision [458]

Edited on 2009-04-10 16:06:32 by DavidLee [changed name of jar file]
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]]
-
-
-
-


Revision [457]

Edited on 2009-04-10 15:48:33 by DavidLee [changed name of jar file]
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
Deletions:
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.


Revision [456]

Edited on 2009-04-10 15:44:15 by DavidLee [changed name of jar file]
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
%%
Deletions:
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.


Revision [455]

Edited on 2009-04-10 15:32:46 by DavidLee [changed name of jar file]
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.
Deletions:
You also need the "xcc.jar" file from [[http://developer.marklogic.com/download/ Mark Logic Developer Page]]
To add the mark logic commands to xmlsh, you must the marklogic.jar file as well as


Revision [454]

Edited on 2009-04-10 15:30:53 by DavidLee [changed name of jar file]
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
Deletions:
4/9/2009
Download the marklogic package from sourceforge. See the README.txt file for setup instructions.


Revision [453]

Edited on 2009-04-10 15:12:20 by DavidLee [changed name of jar file]
Additions:
======Mark Logic Module======
Connectivity to a [[http://www.marklogic.com Mark Logic]] server is supported with an extension module.
Deletions:
======MarkLogic Module======
Connectivity to a MarkLogic server is supported with an extension module.


Revision [448]

The oldest known version of this page was created on 2009-04-09 06:42:55 by DavidLee [changed name of jar file]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki