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
Saxon availability
Available whether or not support for XPath 3.0 is enabled. Implemented since Saxon 9.5. Requires Saxon-PE or Saxon-EE.