
fn.escapeHtmlUri( uri-part as String ) as String
%-escapes everything except printable ASCII characters.
| Parameters | |
|---|---|
| uri-part | A string representing an unescaped URI. |
fn.escapeHtmlUri("http://example.com/Weather/Los Angeles#ocean");
=> "http://example.com/Weather/Los Angeles#ocean"
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.