fn:escape-uri

fn:escape-uri(string $uri-part, boolean $escape-reserved) → string

Function signature

$uri-part

xs:string

$escape-reserved

xs:boolean

Result

string

Applies the %HH escaping convention to a URI

XPath 2.0 Specification

Note:The escape-uri() function is expected to be superseded in the next draft of the specification by two new functions encode-for-uri() and iri-to-uri() corresponding to the two values of the second parameter. These replacement functions are implemented in Saxon 8.5 but not fully tested.

Expand

Up  Next