|-
| width='120' | '''Signatures'''
|{{Func|db:rename|$db as xs:string, $path source as xs:string, $newpath target as xs:string|empty-sequence()}}
|-
| '''Summary'''
|Renames documentMoves all resources(s), specified by of database {{Code|$pathdb}} to , which are found in the supplied {{Code|$newpathsource}} in path, to the database supplied {{Code|$dbtarget}}path. The paths may point to single resources or directories. No updates will take place if a non-existing source path is supplied.
|-
| '''Errors'''