Application Integration
- Application Integration
- All Products
fn:resolve-uri(relative, base)
Argument | Required/Optional | Description |
---|---|---|
relative | Required | The relative URI to be resolved. If absolute, it
is returned unchanged. |
base | Optional | The base URI against which to resolve the relative
URI. If omitted, the base URI of the static context or empty
sequence is used. |
|
|
---|---|
fn:resolve-uri("page.html",
"http://example.com/folder/") | "http://example.com/folder/page.html" |
fn:resolve-uri("", "http://example.com") | () |
fn:resolve-uri("../image.png",
"http://example.com/folder/page.html") | "http://example.com/image.png" |