unparsed-text

unparsed-text($href as xs:string?) → xs:string?

Arguments

 

$href

xs:string?

Result

xs:string?

unparsed-text($href as xs:string?, $encoding as xs:string) → xs:string?

Arguments

 

$href

xs:string?

 

$encoding

xs:string

Result

xs:string?

Links to W3C specifications

Namespace: http://www.w3.org/2005/xpath-functions

Applies to: XPath 3.0, XSLT 3.0, XQuery 3.0 (if enabled in Saxon: requires Saxon-PE or Saxon-EE)

XPath 3.0 Functions and Operators

XSLT 2.0 Specification

Notes on the Saxon implementation

The current Saxon implementation is not deterministic: if the function is called twice with the same argument, it will read the external file twice, and may return different results if it has changed.