Loading TOC...

MarkLogic 12 EA 1 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"

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