Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 18 lines (14 sloc) 0.508 kB
(:
: Copyright 2010 Mark Logic Corporation. All Rights Reserved.
:)
xquery version "1.0-ml";
import module namespace admin = "http://marklogic.com/xdmp/admin" at "/MarkLogic/admin.xqy";
declare namespace ai="api-install";
declare variable $ai:name as xs:string external;
let $config := admin:forest-create(admin:get-configuration(), $ai:name, xdmp:host(), ())
return
(
admin:save-configuration($config)
,
<div class="message">A Forest called {$ai:name} created successfully</div>
)
Jump to Line
Something went wrong with that request. Please try again.