» | Index of functions |
Equivalent to calling unparsed-text()
and splitting the result at newline boundaries.
unparsed-text-lines($href as xs:string?) → xs:boolean
Arguments |
|||
|
$href |
xs:string? |
The uri of the text file to be read |
Result |
xs:boolean |
Applies to: XPath 3.0, XSLT 3.0, XQuery 3.0 (if enabled in Saxon: requires Saxon-PE or Saxon-EE)
unparsed-text-lines($href as xs:string?, $encoding as xs:string) → xs:string*
Arguments |
|||
|
$href |
xs:string? |
The uri of the text file to be read |
|
$encoding |
xs:string |
The encoding to be assumed for the text file |
Result |
xs:string* |
Applies to: XPath 3.0, XSLT 3.0, XQuery 3.0 (if enabled in Saxon: requires Saxon-PE or Saxon-EE)
Notes on the Saxon implementation
Newly implemented in Saxon 9.4; requires XPath 3.0 to be enabled.