Saxonica.com

fn:encode-for-uri

fn:encode-for-uri(string $uri-part) → string

Function signature

$uri-part

xs:string

Result

string

Applies the %HH escaping convention to a URI, escaping both disallowed characters and reserved characters such as "/" and ":"

XPath 2.0 Specification

Next