Loading TOC...

MarkLogic Server 11.0 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"

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.