Loading TOC...

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"

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

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.