A RESTful browser for eXist Java-Based Function Modules


http://exist-db.org/xquery/xmldb
A module for database manipulation functions.

xmldb:size($collection-uri as xs:string, $resource as xs:string) xs:long
Returns the estimated size of the resource $resource (in bytes) in the collection $collection-uri. The estimation is based on the number of pages occupied by the resource. If the document is serialized back to a string, its size may be different, since parts of the structural information are stored in compressed form. Collection URIs can be specified either as a simple collection path or an XMLDB URI.
$collection-uriThe collection URI
$resourceThe resource

Returns the size of the pages, occupied by the resource, in bytes
Return to list of all modules