Name
ml:insert-document — Insert a document into a database on MarkLogic Server.
Synopsis
<p:declare-step
type
="
ml:insert-document
"
xmlns:ml
="
http://xmlcalabash.com/ns/extensions/marklogic
"
>
<p:input
port
="
source
"
/>
<p:output
port
="
result
"
primary
="
false
"
/>
<p:option
name
="
host
"
/>
<!--
string -->
<p:option
name
="
port
"
/>
<!--
integer -->
<p:option
name
="
user
"
/>
<!--
string -->
<p:option
name
="
password
"
/>
<!--
string -->
<p:option
name
="
content-base
"
/>
<!--
string -->
<p:option
name
="
uri
"
required
="
true
"
/>
<!--
anyURI -->
<p:option
name
="
buffer-size
"
/>
<!--
integer -->
<p:option
name
="
collections
"
/>
<!--
string -->
<p:option
name
="
format
"
/>
<!--
"xml" | "text" | "binary" -->
<p:option
name
="
language
"
/>
<!--
string -->
<p:option
name
="
locale
"
/>
<!--
string -->
</p:declare-step>
Description
The ml:insert-document
step inserts a document into a
Mark Logic Server.
Implementation
To use this step you must have MarkLogic Server and the xmlcalabash1-xcc module. The jar file from that project must be in the class path in order to use this step.