[oXygen-user] Create a new file on MarkLogic through WebDAV

Florent Georges
Thu Mar 5 18:02:56 CST 2009


Eliot Kimber wrote:

  Hi Eliot,

> You can do it with an XQuery:
>  xdmp:document-insert(
>          "/example.xml", <a>aaa</a>,
>             (xdmp:permission("editor", "read"),
>              xdmp:permission("editor", "update")),
>          "http://examples.com")

  Thanks.  Yes, and then I could open it with "Open URL".  I can live with that, even if it is a bit heavy just to create a file.  But actually, I try to create a new XQuery module, the WebDAV server is linked to the Module database.  So I guess I should then create a second XDBC server, linked also to the Modules database.  And even then, will xdmp:document-insert() work to create a new XQuery module, instead of an XML document?

  I'm afraid I am going to be a bit too much specific to MarkLogic.  Maybe we should switch to the ML Users mailing list?

  Thanks again,

-- 
Florent Georges
http://www.fgeorges.org/
























      



More information about the oXygen-user mailing list