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