fn:iri-to-uri( $uri-part as xs:string ) as xs:string
Idempotent function that escapes non-URI characters.
Parameters | |
---|---|
uri-part | A string representing an unescaped URI. |
fn:iri-to-uri("http://example.com/Weather/Los%20Angeles#ocean") => "http://example.com/Weather/Los%20Angeles#ocean"
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.