file:size

Returns the byte size of a file, or the value 0 for directories.

size($file as xs:string) ➔ xs:integer

Arguments

 

$file

xs:string

Path to file

Result

xs:integer

Namespace

http://expath.org/ns/file

Links to specifications

EXPath File Module