Re: [MarkLogic Dev General] Inserting in a file system module database

2012-09-14 Thread Michael Blakeley
t; From: Florent Georges [mailto:li...@fgeorges.org] > Sent: Friday, September 14, 2012 8:35 AM > To: Keith L. Breinholt; MarkLogic Developer Discussion; Michael Blakeley > Subject: Re: [MarkLogic Dev General] Inserting in a file system module > database > > Keith L. Breinholt wro

Re: [MarkLogic Dev General] Inserting in a file system module database

2012-09-14 Thread Keith L. Breinholt
? -Original Message- From: Florent Georges [mailto:li...@fgeorges.org] Sent: Friday, September 14, 2012 8:35 AM To: Keith L. Breinholt; MarkLogic Developer Discussion; Michael Blakeley Subject: Re: [MarkLogic Dev General] Inserting in a file system module database Keith L. Breinholt wrote:   Hi

Re: [MarkLogic Dev General] Inserting in a file system module database

2012-09-14 Thread Florent Georges
Keith L. Breinholt wrote:   Hi, > Unfortunately there is no XQuery functionality to remove a file > system directory or a file.   Thanks.  In my case, I guess the best option is to handle the rest of the processing (removing the files from the management meta information) and ask the user to del

Re: [MarkLogic Dev General] Inserting in a file system module database

2012-09-14 Thread Keith L. Breinholt
Dev General] Inserting in a file system module database Florent Georges wrote: > Michael Blakeley wrote:   Hi, >> There is no documented API function for directory creation. >> But http://marklogic.markmail.org/thread/t657yhz5oryvzrj6 >> includes mention of an undocumented,

Re: [MarkLogic Dev General] Inserting in a file system module database

2012-09-14 Thread Florent Georges
Florent Georges wrote: > Michael Blakeley wrote:   Hi, >> There is no documented API function for directory creation. >> But http://marklogic.markmail.org/thread/t657yhz5oryvzrj6 >> includes mention of an undocumented, unsupported function. >   Excellent, thanks for the tip!  I don't like to use

Re: [MarkLogic Dev General] Inserting in a file system module database

2012-08-30 Thread Florent Georges
Michael Blakeley wrote:   Hi Mike, > There is no documented API function for directory creation. But > http://marklogic.markmail.org/thread/t657yhz5oryvzrj6 includes > mention of an undocumented, unsupported function.   Excellent, thanks for the tip!  I don't like to use undocumented features, b

Re: [MarkLogic Dev General] Inserting in a file system module database

2012-08-30 Thread Michael Blakeley
There is no documented API function for directory creation. But http://marklogic.markmail.org/search/?q=filesystem%20directory%20create#query:filesystem%20directory%20create+page:1+mid:t657yhz5oryvzrj6+state:results includes mention of an undocumented, unsupported function. Or you could write a

Re: [MarkLogic Dev General] Inserting in a file system module database

2012-08-30 Thread Florent Georges
Danny Sokolsky wrote:   Hi Danny, > You can write to the server using xdmp:save.   Yes xdmp:save(), that's what I was looking for, thank you! > As David points out though, it is a sharp tool.   Oh yes, I am very aware of that ;-)  But I am writing an application which is aimed at being used on

Re: [MarkLogic Dev General] Inserting in a file system module database

2012-08-25 Thread Geert Josten
: [MarkLogic Dev General] Inserting in a file system module database You can write to the server using xdmp:save. It is a privileged operation, but you can write anywhere that the user under which MarkLogic runs has permissions. For example, the following will save a text file to the modules root (on

Re: [MarkLogic Dev General] Inserting in a file system module database

2012-08-25 Thread David Lee
812-482-5224 Cell: +1 812-630-7622 www.marklogic.com -Original Message- From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Florent Georges Sent: Saturday, August 25, 2012 12:08 PM To: MarkLogic General ML Subject: [MarkLogic Dev General]

Re: [MarkLogic Dev General] Inserting in a file system module database

2012-08-25 Thread Danny Sokolsky
com -Original Message- From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Florent Georges Sent: Saturday, August 25, 2012 12:08 PM To: MarkLogic General ML Subject: [MarkLogic Dev General] Inserting in a file system module database   Hi,

Re: [MarkLogic Dev General] Inserting in a file system module database

2012-08-25 Thread David Lee
r.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Florent Georges Sent: Saturday, August 25, 2012 12:08 PM To: MarkLogic General ML Subject: [MarkLogic Dev General] Inserting in a file system module database   Hi,   Through an App Server, I insert some modules dynamically in a

[MarkLogic Dev General] Inserting in a file system module database

2012-08-25 Thread Florent Georges
  Hi,   Through an App Server, I insert some modules dynamically in a database.  How can I do that if the database is on the file system (which is the case for the default Modules database)?  As far as I know, xdmp:document-insert() does not work in that case...   Regards,   -- Florent Georges h