MarkLogic 12 EA 1 Product Documentation
fn.escapeHtmlUri

fn.escapeHtmlUri(
   uri-part as String
) as String

Summary

%-escapes everything except printable ASCII characters.

Parameters
uri-part A string representing an unescaped URI.

Example

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