file:read-text-lines

Returns the contents of a file as a sequence of strings, separated at newline boundaries.

read-text-lines($file as xs:string) ➔ xs:string*

Arguments

 

$file

xs:string

Path to file

Result

xs:string*

read-text-lines($file as xs:string, $encoding as xs:string) ➔ xs:string*

Arguments

 

$file

xs:string

Path to file

 

$encoding

xs:string

Encoding used for string-binary conversion

Result

xs:string*

Namespace

http://expath.org/ns/file

Links to specifications

EXPath File Module