Database Reference
In-Depth Information
<exist:collection
name=
"eXist-book"
created=
"2012-09-05T10:03:28+02:00"
owner=
"admin"
group=
"dba"
permissions=
"rwxr-xr-x"
/>
<!-- Etc. -->
</exist:collection>
</exist:result>
eXist also contains an HTTP Client module of its own (see the next section). Both
modules have roughly the same functionality, but if you're ever going to do cross-
platform XQuery programming, the EXPath one is the better choice.
httpclient
Description
Performing HTTP requests as a client (eXist native)
Namespace
httpclient="http://exist-db.org/xquery/httpclient"
Type/default status
Java; enabled in
$EXIST_HOME/conf.xml
; enabled in
$EXIST_HOME/extensions/
build.properties
Class
org.exist.xquery.modules.httpclient.HTTPClientModule
This module allows you to send out HTTP requests as if eXist were a client. It has
functions like
httpclient:put
and
httpclient:get
. All functions return an exten‐
sive XML fragment with details of the request's response. An example of using the
httpclient:post
function can be found in
“POST Requests” on page 98
.
eXist also contains an EXPath-conformant HTTP Client module (see
http
). Both
modules have roughly the same functionality, but if you're ever going to do cross-
platform XQuery programming, the EXPath one is the better choice.
image
Description
Performing operations on images stored in eXist
Namespace
image="http://exist-db.org/xquery/image"
Type/default status
Java; enabled in
$EXIST_HOME/conf.xml
; enabled in
$EXIST_HOME/extensions/
build.properties
Search WWH ::
Custom Search