A RESTful browser for eXist Java-Based Function Modules


http://exist-db.org/xquery/util
A module for various utility extension functions.

util:file-read($url as item()) xs:string?
Read the contents of a file as a string.
$urlThe URL of the file to read

Returns the contents of the file

Deprecated: Moved to the file extension module. See file:read() in the file extension module This function could be removed at anytime during the 1.5 development and will be removed in the 1.6 release.

util:file-read($url as item(), $encoding as xs:string) xs:string?
Read the contents of a file as a string.
$urlThe URL of the file to read
$encodingThe encoding of the file

Returns the contents of the file

Deprecated: Moved to the file extension module. See file:read() in the file extension module This function could be removed at anytime during the 1.5 development and will be removed in the 1.6 release.
Return to list of all modules