SAXONICA |
xslt:unparsed-text(string $uri) → string
Function signature
$uri |
xs:string |
Result |
xs:string |
Returns the contents of an external text file, given its URI. Saxon attempts to infer the encoding. First it looks in the HTTP headers if available. Then it examines the start of the file looking first for a byte-order-mark, and failing that for an XML declaration. If none of this works, it assumes the encoding is UTF-8.
xslt:unparsed-text(string $uri, string $encoding) → string
Function signature
$uri |
xs:string |
$encoding |
xs:string |
Result |
xs:string |
Returns the contents of an external text file, given its URI and encoding