xmldb:permissions-to-string($permissions as xs:integer) xs:string?
Formats the resource or collection permissions, $permissions, passed as an integer value into a string. The returned string shows the permissions following the Unix conventions, i.e. all permissions set is returned as rwurwurwu, where the first three chars are for user permissions, followed by group and other users. 'r' denotes read, 'w' write and 'u' update permissions.
$permissions
The permissions in xs:integer format
Returns the permissions as string 'rwu' for, user, group and other