[MarkLogic Dev General] HTTP access to database documents
Tim Finney
tjf2n at virginia.edu
Tue Dec 9 17:24:06 PST 2008
Dear All,
Is there a way to get direct access to database documents via HTTP?
I would like to be able to do something like this (modelled on
xdmp:document-get()):
DB-doc-get(
"http://www.example.com/path/to/somewhere/some-doc.xml",
<options xmlns="xdmp:document-get" xmlns:http="xdmp:http">
<format>xml</format>
<http:authentication>
<http:username>user</http:username>
<http:password>pass</http:password>
</http:authentication>
</options>
)
In this example, path/to/somewhere would be a path to a place that exposes a database.
Best,
Tim Finney
XQuery programmer
UVa Press
More information about the General
mailing list