On 3/5/09 3:10 PM, "Florent Georges" <[email protected]> wrote:
>
> Hi,
>
> I have MarkLogic in a virtual box for developing purposes (on
> Mac OS X) and tried to create a new file from within oXygen, by
> using the "Open URL" action. I filled in the info and
> pressed "Browse" to be sure the info are ok, and everything goes
> fine. But when I press "OK", I receive a 404.
>
> Is it possible to create a new file with this action? If not,
> is it possible by any other means?
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")
http://developer.marklogic.com/pubs/3.2/apidocs/UpdateBuiltins.html#document
-insert
Cheers,
E.
----
Eliot Kimber | Senior Solutions Architect | Really Strategies, Inc.
email: [email protected] <mailto:[email protected]>
office: 610.631.6770 | cell: 512.554.9368
2570 Boulevard of the Generals | Suite 213 | Audubon, PA 19403
www.reallysi.com <http://www.reallysi.com> | http://blog.reallysi.com
<http://blog.reallysi.com> | www.rsuitecms.com <http://www.rsuitecms.com>
_______________________________________________
oXygen-user mailing list
[email protected]
http://www.oxygenxml.com/mailman/listinfo/oxygen-user