|}
==file:read-textbinary==
{|
|-
| width='90' | '''Signatures'''
|{{Func|file:read-textbinary|$path as xs:string|xs:string}}<br />{{Func|file:read-text|$path as xs:string, $encoding as xs:string|xs:stringbase64Binary}}<br />
|-
| '''Summary'''
|Reads the textual contents binary content of the file specified by {{Code|$path}} and returns it as {{Code|xs:stringbase64Binary}}.<br />The optional parameter {{Code|$encoding}} defines the encoding of the file.<br />
|-
| '''Errors'''
|{{Error|FILE0001|#Errors}} the specified file does not exist.<br />{{Error|FILE0004|#Errors}} the specified path is a directory.<br />{{Error|FILE0005|#Errors}} the specified encoding is not supported, or unknown.<br />{{Error|FILE9999|#Errors}} the operation fails for some other reason.<br />
|}
==file:read-text-lines==
{|
|-
| width='90' | '''Signatures'''
|{{Func|file:read-text-lines|$path as xs:string|xs:string}}<br />{{Func|file:read-text-lines|$path as xs:string, $encoding as xs:string|xs:string*}}<br />
|-
| '''Summary'''
|Reads the textual contents of the file specified by {{Code|$path}} and returns it as a sequence of {{Code|xs:string}} items.<br />The optional parameter {{Code|$encoding}} defines the encoding of the file.<br />
|-
| '''Errors'''
|}
==file:read-binarytext-lines==
{|
|-
| width='90' | '''Signatures'''
|{{Func|file:read-binarytext-lines|$path as xs:string|xs:base64Binarystring}}<br />{{Func|file:read-text-lines|$path as xs:string, $encoding as xs:string|xs:string*}}<br />
|-
| '''Summary'''
|Reads the binary content textual contents of the file specified by {{Code|$path}} and returns it as a sequence of {{Code|xs:base64Binarystring}} items.<br />The optional parameter {{Code|$encoding}}defines the encoding of the file.<br />
|-
| '''Errors'''
|{{Error|FILE0001|#Errors}} the specified file does not exist.<br />{{Error|FILE0004|#Errors}} the specified path is a directory.<br />{{Error|FILE0005|#Errors}} the specified encoding is not supported, or unknown.<br />{{Error|FILE9999|#Errors}} the operation fails for some other reason.<br />
|}