MarkLogic Server 11.0 Product Documentation
fn.iriToUri

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

Summary

Idempotent function that escapes non-URI characters.

Parameters
uri-part A string representing an unescaped URI.

Example

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