expath-file:copy

Copies a file or directory

copy($source as xs:string, $target as xs:string) ➔ empty-sequence()

Arguments

 

$source

xs:string

The source file or directory

 

$target

xs:string

The target file or directory

Result

empty-sequence()

Details

Namespace: http://expath.org/ns/file

Notes on the Saxon implementation

Implemented since Saxon 9.5; available whether or not support for XPath 3.0 is enabled