MarkLogic 10 Product Documentation
fn:escape-html-uri

fn:escape-html-uri(
   $uri-part as xs:string
) as xs:string

Summary

%-escapes everything except printable ASCII characters.

Parameters
uri-part A string representing an unescaped URI.

Example

fn:escape-html-uri("http://example.com/Weather/Los Angeles#ocean")
=> "http://example.com/Weather/Los Angeles#ocean"
Powered by MarkLogic Server | Terms of Use | Privacy Policy